Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: MonadThrow, MonadReader and shake (PICCA Frederic-Emmanuel)
----------------------------------------------------------------------
Message: 1
Date: Wed, 19 Dec 2018 09:30:39 +0000
From: PICCA Frederic-Emmanuel
<[email protected]>
To: "The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell" <[email protected]>
Subject: Re: [Haskell-beginners] MonadThrow, MonadReader and shake
Message-ID:
<a2a20ec3b8560d408356cac2fc148e53015b366...@sun-dag3.synchrotron-soleil.fr>
Content-Type: text/plain; charset="us-ascii"
> I've swapped the args above, it should be:
> liftIO $ runReaderT (toRuchePath attachements) stateBeforeCallingShake
Hello, I was struggling with strange errors :).
Now it works. thanks a lot.
I am just wondering if the best it not to add a parameter to my toRuchePath
function and avoid the Reader Monad.
this would simplify the code I gess.
> With additional `MonadThrow Action` and `MonadReader Beamline Action`
> instances it should work. But the MonadReader one is really specific to
> your use case.
I will try also this.
thansk a lot.
Frederic
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 126, Issue 14
******************************************