Proposal: Add HasCallStack to the partial functions in base

Vanessa McHale vanessa.mchale at
Fri Sep 28 01:31:30 UTC 2018

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:
> _______________________________________________
> Libraries mailing list
> Libraries at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Libraries mailing list