X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fparser%2FLexer.x;h=0b02f41a9b4cac54850062c8900f4581ee60bc6a;hb=dfcf88523ec5988fbcaa2cbf812cc5862ad621cf;hp=8ef2071b482cbef5c905e599c3f73d3222106f7a;hpb=33989e6eb745ca9d54ba638bc89bec7660cba4be;p=ghc-hetmet.git diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 8ef2071..0b02f41 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -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 ]