Skip to content

Use HasCallStack and error in GHC.List and .NonEmpty

Andreas Klebinger requested to merge wip/andreask/callstack-in-list into master

Resurrecting !5833 (closed)

In addition to providing stack traces, the scary HasCallStack will hopefully make people think whether they want to use these functions, i.e. act as a documentation hint that something weird might happen.

Merge request reports