add a comment
authorSimon Marlow <simonmar@microsoft.com>
Mon, 7 Aug 2006 14:31:02 +0000 (14:31 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 7 Aug 2006 14:31:02 +0000 (14:31 +0000)
compiler/parser/Lexer.x

index 8ef2071..0b02f41 100644 (file)
@@ -588,6 +588,9 @@ reservedSymsFM = listToUFM $
        ,("→",   ITrarrow,    bit glaExtsBit)
        ,("←",   ITlarrow,    bit glaExtsBit)
        ,("⋯",        ITdotdot,       bit glaExtsBit)
+        -- ToDo: ideally, → and ∷ should be "specials", so that they cannot
+        -- form part of a large operator.  This would let us have a better
+        -- syntax for kinds: ɑ∷*→* would be a legal kind signature. (maybe).
 #endif
        ]