[GHC] #5129: "evaluate" optimized away
GHC
cvs-ghc at haskell.org
Wed May 4 11:15:05 CEST 2011
#5129: "evaluate" optimized away
---------------------------------+------------------------------------------
Reporter: dons | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Keywords: seq, evaluate | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Comment(by simonpj):
OK fair enough. If all you want is strictness, then `seq` should be fine.
If you want exception ordering, or space-leak squashing, then `evaluate`
is better.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5129#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list