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

GHC ghc-devs at haskell.org
Sun Nov 1 21:38:35 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 simonmar):

 > Do you think the error message would be better without the partial
 CallStack, or does it seem more like a non-issue?

 We could have a non-callstack version of error, and use that from
 `minimumBy` and other functions in base that call `error`?

 > > I should also mention that I'm working on extending profiling to work
 with GHCi, so people using GHCi will get the benefit of full and detailed
 call stacks without any changes at the source level.

 > Is there a ticket for this?

 I just made one: #11047

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


More information about the ghc-tickets mailing list