#2414: GHCi / GHC segfault : type checker problem
----------------------------------------+-----------------------------------
    Reporter:  dons                     |        Owner:         
        Type:  bug                      |       Status:  new    
    Priority:  normal                   |    Milestone:         
   Component:  Compiler (Type checker)  |      Version:  6.8.2  
    Severity:  normal                   |   Resolution:         
    Keywords:                           |     Testcase:         
Architecture:  Unknown                  |           Os:  Unknown
----------------------------------------+-----------------------------------
Comment (by AudreyTang):

 More data points:

 {{{
 unfoldr Just ((),()) -- crash
 unfoldr (id Just) ((),()) -- fine
 unfoldr (id . Just) ((),()) -- fine
 unfoldr (Just . id) ((),()) -- fine
 }}}

 Also GHC 6.4.3 is fine.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2414#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to