
#14364: Reduce repetition in derived Read instances -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: deriving Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10980 #7258 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Sounds very plausible to me. And you could have two variants of `readField`, one with a comma and one not. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14364#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler