[GHC] #11035: Add implicit call-stacks to partial functions in base

GHC ghc-devs at haskell.org
Sun Nov 1 21:47:53 UTC 2015


#11035: Add implicit call-stacks to partial functions in base
-------------------------------------+-------------------------------------
        Reporter:  gridaphobe        |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      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 gridaphobe):

 Replying to [comment:15 simonmar]:
 > We could have a non-callstack version of error, and use that from
 `minimumBy` and other functions in base that call `error`?

 Yes, that's the idea. We could even add a one-off version of Richard's
 RULE to optimize away the callstacks for `error` in distributed code,
 which I think would make Joachim happier.

 I'm just wondering if the cosmetic issue is enough to warrant the extra
 (probably small) maintenance burden.

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


More information about the ghc-tickets mailing list