[GHC] #14002: Defining a function in GHCi results in different strictness behavior than defining it in a file
GHC
ghc-devs at haskell.org
Thu Jul 20 21:09:32 UTC 2017
#14002: Defining a function in GHCi results in different strictness behavior than
defining it in a file
-------------------------------------+-------------------------------------
Reporter: cocreature | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by lspitzner):
seems to start occurring at ghc-7.10.
also curios that `let func f = seq f f` does not show this error, while
`let func f = seq f (\x -> f x)` does.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14002#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list