#1100: Parse error on (#) in .lhs files
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Compiler (Parser) | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
------------------------------------+---------------------------------------
Changes (by simonpj):
* priority: normal => low
Comment:
I think it works fine unless you have -fglasgow-exts. If you use
-fglasgow-exts, GHC uses (# and #) parens for unboxed tuples. This does
indeed mean you can't give a type sig to (#), which is sub-optimal, since
it clearly isn't an unboxed tuple.
I guess this would mean fixing the lexer to recognise (#) in addition to
(# and #).
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1100>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs