Add HasCallStack to partial functions
dwincort opened this issue · 5 comments
dwincort commented
Can we add HasCallStack
to the constraints of partial functions like Map.!
? I'd be happy to put together a PR if it's a change that would get accepted.
treeowl commented
Yes, please! I was already thinking about doing that. But please show
benchmark results to make sure the performance impact is tolerable.
…On Jan 11, 2018 12:37 PM, "Daniel Winograd-Cort" ***@***.***> wrote:
Can we add HasCallStack to the constraints of partial functions like Map.!?
I'd be happy to put together a PR if it's a change that would get accepted.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#489>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABzi_XyCCjFQHVVCFlk7idclZNrHCL83ks5tJkbNgaJpZM4RbMQ8>
.
sjakobi commented
sjakobi commented
dwincort commented
Oh wow, I totally forgot about this. The project I was working on ended up finding a different way to track errors, and this went to the bottom of my priority list.
I don't have the bandwidth right now to work on this, so if someone else wants to take over, that would be great. Otherwise, I may be able to find some time in a few weeks. I'll make a reminder for myself.
sjakobi commented
For reference: Similar plans for base
are discussed in https://gitlab.haskell.org/ghc/ghc/-/issues/17040.