#3709: Data.Either.partitionEithers is not lazy enough
--------------------------------------+-------------------------------------
  Reporter:  daniel.is.fischer        |          Owner:                  
      Type:  bug                      |         Status:  closed          
  Priority:  normal                   |      Milestone:                  
 Component:  libraries/base           |        Version:  6.10.4          
Resolution:  fixed                    |       Keywords:                  
Difficulty:                           |             Os:  Unknown/Multiple
  Testcase:                           |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------
Comment (by igloo):

 This is a behavioural change, e.g.:
 {{{
 Main> case partitionEithers1 [Left 'a', error "Not me"] of (x : _, _) -> x

 Program error: Not me

 Main> case partitionEithers2 [Left 'a', error "Not me"] of (x : _, _) -> x
 'a'
 }}}
 Shouldn't it be discussed on the libraries list first?

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