Ticket #3415 (closed bug: invalid)
Peculiar anomaly with record style data types and deriving Read
Description
-- Given this data type
data Foo = Foo { foo :: Int } deriving (Read, Show)
-- this fails
bar :: Foo
bar = read "Foo 42"
-- However, non-record-style construction is allowed:
baz :: Foo
baz = Foo 42
Change History
Note: See
TracTickets for help on using
tickets.
