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

GHC ghc-devs at haskell.org
Thu Oct 29 22:47:58 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):

 > What if we add a special `rootCallStack :: CallStack` ...

 I think this is doable.

 One thing worth stressing is that in your scenario the programmer has to
 '''explicitly''' say where they want the call-stack to be cut off (or to
 kill it altogether). This is in stark contrast to the existing scenarios,
 where call-stacks are handled entirely behind the scenes by GHC. But it
 sounds like you really want the option for explicit control, and I kinda
 understand why.

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


More information about the ghc-tickets mailing list