[Haskell-beginners] Using a monadic operation in a list comprehension.

Kim-Ee Yeoh ky3 at atamo.com
Sun Sep 21 18:38:36 UTC 2014


On Sun, Sep 21, 2014 at 9:02 PM, Derek McLoughlin <
derek.mcloughlin at gmail.com> wrote:

> I'm trying to get Graham Hutton's "Programming with Effects" article
> (http://www.cs.nott.ac.uk/~gmh/monads) working with Data.Tree instead
> of the Tree he provides.
>

Hi Derek,

This is a lovely problem that's inspired a bunch of interesting papers
recently.

Here's a stab at the compilation error you're facing:

http://www.atamo.com/blog/how-to-solve-a-tricky-monad-problem-1/

Enjoy  :)

-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140922/5b88c000/attachment.html>


More information about the Beginners mailing list