ekmett / exceptions

mtl friendly exceptions
Other
49 stars 32 forks source link

Define HasCallStack with CPP rather than the call-stack library #92

Closed RyanGlScott closed 1 year ago

RyanGlScott commented 1 year ago

This avoids downstream users from having to enable various language extensions when deriving the classes from exceptions using GeneralizedNewtypeDeriving on pre-8.0 GHCs. I have left some documentation describing why we have made this choice, as the reasoning is somewhat non-obvious.

Fixes #91.