Proposal: Add HasCallStack to the partial functions in base
Daniel Cartwright
chessai1996 at gmail.com
Fri Sep 28 01:32:47 UTC 2018
"etc." Means anything else that might be applicable, I just listed 3 off
the top of my head.
On Thu, Sep 27, 2018, 8:31 PM Vanessa McHale <vanessa.mchale at iohk.io> wrote:
> What does "etc." mean? The linked ticket suggests that not all such
> functions would be candidates.
>
> I can't imagine fromJust, fromRight, or fromLeft being used in
> performance-critical code, so perhaps those would be a good start?
>
> On 09/27/2018 08:20 PM, Daniel Cartwright wrote:
>
> I propose to add `HasCallStack` to all partial functions in base, e.g.
> `fromJust`, `fromRight`, `fromLeft`, etc.
>
> Relevant discussion here: https://ghc.haskell.org/trac/ghc/ticket/15559
>
>
> _______________________________________________
> Libraries mailing listLibraries at haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180927/c5eba374/attachment.html>
More information about the Libraries
mailing list