#1100: Parse error on (#) in .lhs files
---------------------------------------+------------------------------------
    Reporter:  [EMAIL PROTECTED]  |       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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to