[Haskell-beginners] MonadThrow, MonadReader and shake
frederic-emmanuel.picca at synchrotron-soleil.fr
Thu Dec 13 10:56:17 UTC 2018
> - Make `Action` an instance of `MonadThrow`
If I read the documentationof Action, I have this.
So you are right Action has no Instance for MonadThrow.
BUT it seems that there is a LiftIO available.
Do you think that it can be usefull or must I create a dedicated instance of Action
> - Let the throw happen outside that `do` block
I can not move this out of the o`block because I need a computation done in the block.
Maybe there is a way but I do not know how...
More information about the Beginners