[Haskell-cafe] Best way to implement "scoped exceptions"?

Tom Ellis tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Thu Dec 29 13:02:06 UTC 2022


On Wed, Dec 28, 2022 at 09:19:20PM +0000, Dan Dart wrote:
> Sounds to me a bit like CPS - so maybe something like callCC:
> https://hackage.haskell.org/package/transformers-0.6.0.4/docs/Control-Monad-Trans-Cont.html#v:callCC

Thanks. There is some element of CPS to it, although in this case I'm
specifically looking for an API that's plugged in to how GHC's RTS
treats exceptions.


More information about the Haskell-Cafe mailing list