1 {- Bug report 28 May 99
3 When compiled with ghc-4.02, everything's fine, it outputs "Value 7" as
4 expected. But compiled with ghc-pre-4.03 it yields this error message.
6 Fail: Prelude.read: no parse
11 data Msg = Value Int | Inc deriving (Show, Read)
13 main = do let v = read "Value 7"::Msg