#5041: Incorrect Read deriving for MagicHash constructors
---------------------------------+------------------------------------------
    Reporter:  dolio             |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  7.0.2       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 Replying to [comment:4 simonpj]:
 > Options 2 and 3 above are precisely that.

 No, do it without modifying `Text.Reader.Lex`.  Just generate a `Read`
 instance that recognises the two lexemes "A" followed by "#".

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5041#comment:5>
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