[GHC] #15226: GHC doesn't know that seq# produces something in WHNF
GHC
ghc-devs at haskell.org
Tue Jun 5 15:30:24 UTC 2018
#15226: GHC doesn't know that seq# produces something in WHNF
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4789
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dfeuer):
I think the right way for now is probably to stick this in `simplAlt`.
When the scrutinee is `seq# x s`, we want to behave the way we would for a
strict datacon field.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15226#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list