Add HasCallStack - #440
Conversation
sjakobi
left a comment
There was a problem hiding this comment.
How does this affect performance? I imagine it wouldn't be too bad.
|
As https://mail.haskell.org/pipermail/libraries/2021-May/031246.html explains, adding |
|
I wonder whether addition of |
🤷 @phadej, what do you think? |
|
On the other hand, it's equivalent to changing error messages, which I would not qualify as a breakage... |
Are you sure that it won't break anything? It reminds me of haskell/cabal#6545, where some code involving |
|
Cf. https://discourse.haskell.org/t/is-adding-hascallstack-a-breaking-change/3696/11 I was leaning to "non-breaking", but haskell/cabal#6545 looks pretty bad :( |
|
#6545 is not due which is rank2 type-alias. And that's what was affected by simplified subsumption. |
|
I'm fine with treating this as a non-breaking change, i.e. releasing this in 0.11.x. |
This mimics recently approved https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6772/diffs