Zulip Chat Archive
Stream: general
Topic: Unlifting monad transformers
James Sully (Jul 28 2024 at 08:08):
Do we have a mechanism for unlifting a monad transformer stack to IO? I need it to call IO.asTask
.
Sebastian Ullrich (Jul 28 2024 at 11:41):
Depending on the stack, MonadControlT can get you there
James Sully (Jul 28 2024 at 11:42):
Thanks! It's just ReaderT IO
James Sully (Jul 28 2024 at 11:43):
Last updated: May 02 2025 at 03:31 UTC