haskell-issues icon indicating copy to clipboard operation
haskell-issues copied to clipboard

ghci should allow you to switch monads

Open Gurkenglas opened this issue 8 years ago • 0 comments

Write something like :hoist runMaybeT and suddenly the giant do block you're writing is in the MaybeT IO monad. The important part is that monadic results are still printed on a line-per-line basis.

Gurkenglas avatar Aug 23 '16 23:08 Gurkenglas