#2622: sum and product thunkpile
-------------------------------+--------------------------------------------
Reporter: Bart Massey | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.9
Severity: major | Resolution:
Keywords: | Testcase:
Architecture: Multiple | Os: Multiple
-------------------------------+--------------------------------------------
Comment (by Bart Massey):
Oh, BTW, maybe product needs to be open-coded (but not the current way!)
so that it can be properly lazy on encountering a 0 in the list. I have
mixed feelings about this; on the one hand, it's in the spirit of "maximal
laziness", on the other hand, it's a bit strange.
Should I file another bug report or proposal for this?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2622#comment:1>
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