[GHC] #10824: Strict let-bindings are processed backwards

GHC ghc-devs at haskell.org
Wed Sep 9 12:43:52 UTC 2015


#10824: Strict let-bindings are processed backwards
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I don't think we should offer any guarantee for what happens in this case.
 Our [http://research.microsoft.com/en-us/um/people/simonpj/papers
 /imprecise-exn.htm imprecise-exceptions paper] says why.

 I'm not against making the by-default behaviour a bit more intuitive but I
 don't think we should specify an evaluation order.

 So I suggest "invalid" here.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10824#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list