#7117: Data family constructors defined in GHCi are not in scope
------------------------------+---------------------------------------------
 Reporter:  parcs             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  GHCi            
  Version:  7.4.2             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 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.

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