Decorating exceptions with backtrace information

Ben Gamari <[email protected]>
Newsgroups gmane.comp.lang.haskell.glasgow.user,gmane.comp.lang.haskell.ghc.devel
Message-ID <[email protected]>
Hi everyone,

After a nice discussion on IRC about the unfortunate state of error
reporting in Haskell, I felt compelled to write down some long-lingering
thoughts regarding backtraces on exceptions. The result is GHC proposal
#330 [1]. I think the approach is viable and perhaps even
straightforward. I have the sketch of an implementation here [2].

Please have a look at the proposal and leave your comments. If there is
consensus it is possible that we could have this done for 8.12.

Cheers,

- Ben


[1] https://github.com/ghc-proposals/ghc-proposals/pull/330
[2] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3236

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
signature.asc (application/pgp-signature, 487 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEmwpsh4C13+CdDZRjcVB86Evun78FAl60g4oACgkQcVB86Evu
n7+nUwgApIaWIr1iIPx/kVT2Zpqfw1veuNthafu0vwS5Dbz5Kx6SYxTQlXVXh4D4
/ONYLVmyiLlDzi24urWdt8jPi/KWReXUjd0I8YCu7NBnGIR4+KWsG8j/xBOodAoj
49Q05/8JI0Iicdg23SwJ/YZgeyidOik3A9AGVTMxit1sA1VKITrD/vEO0A+7pYf4
IfRnGx5tv7HPvgkRCzpn/wtkFtGwRytqeovKa6gLQB7/idSYn9FlgfUMNvojZk3S
4zC2UxovBFC5UmHRdLwxqhxokp0KC3qUzhtVNX6gtzYqL7lUHD8txj3YiIsTszhH
AOu7s7zBG+M0UJuaFXuOtal6BcF+MQ==
=t123
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.