[GHC] #4116: Type supplement for constructor specific uses of sum types

GHC cvs-ghc at haskell.org
Tue Jun 8 07:38:02 EDT 2010


#4116: Type supplement for constructor specific uses of sum types
---------------------------------+------------------------------------------
    Reporter:  gabrielrf         |       Owner:              
        Type:  proposal          |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  6.13              |    Keywords:              
          Os:  Unknown/Multiple  |    Testcase:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by gabrielrf):

 Sorry
 {{{
 headFromJust :: (Maybe (List a)) @ {Just (_:_)} -> a
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4116#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list