Ticket #7117 (closed bug: fixed)
Data family constructors defined in GHCi are not in scope
|Reported by:||parcs||Owned by:||pcapriotti|
|Type of failure:||Incorrect result at runtime||Difficulty:||Unknown|
|Test Case:||Blocked By:|
The following example explains the problem:
> data family Foo a > data instance Foo Int = FooInt > :t FooInt <interactive>:1:1: Not in scope: data constructor `FooInt'
FooInt is defined, but GHCi doesn't recognize it.
Note: See TracTickets for help on using tickets.