[GHC] #1100: Parse error on (#) in .lhs files
GHC
trac at galois.com
Mon Jan 15 14:18:58 EST 2007
#1100: Parse error on (#) in .lhs files
---------------------------------------+------------------------------------
Reporter: j.russell at alum.mit.edu | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
---------------------------------------+------------------------------------
The lexeme sequence `(#)` gives a parse error in .lhs files.
This makes it impossible to, among other things,
give a type signature to the operator `#`
I believe that this should be legal.
For instance, the line
{{{
(#) :: Foo -> Bar -> Quux
}}}
gives a parse error in a .lhs file.
The same line in a .hs file compiles normally.
This may be related to bug #733
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1100>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list