4 ms·
It's not much better in Haskell; while you can coerce GHC into printing a stack trace, you'll need some knowledge of how the language is evaluated in order to u
by tadfisher 2y ago
It's not much better in Haskell; while you can coerce GHC into printing a stack trace, you'll need some knowledge of how the language is evaluated in order to understand it.
I think the mapping of imperative "stack frames" to functional code is leaky when there's a runtime sitting in between. Traces should be done in the runtime, however it makes sense to display them.