monads once again: a newbie perspective

Hello! I' m new to Haskell and try to find my way through types and monads. I tried the yet Another Haskell Tutorial, very useful for types, but almost unreadable for monads (that's my perspective!). Then I discovered that wonderful paper by Wadler (Monads for functional programming). So I started "translating it" for someone who can be scared of something with an abstract and footnotes coming from a professor. I started writing it in order to clarify to myself this difficult topic. I think I'm now grasping the concept of monads. I thought that someone else could find my writings useful. It could become a page on the wiki. But before posting there I would like to have your opinion. Perhaps this is just something unreadable. Let me know. Andrea

Hi,
It could become a page on the wiki. But before posting there I would like to have your opinion. Perhaps this is just something unreadable.
Just shove it on the wiki regardless. If its useless then no one will read it. If its a bit unreadable, then people will fix it. If its useful the world will benefit. Any outcome is a good outcome! Once its on the wiki I'll give it a read, since it looks promising, but its a bit hard to read in teletype font as displayed by my browser. Thanks Neil

Il Thu, Aug 24, 2006 at 08:02:38PM +0100, Neil Mitchell ebbe a scrivere:
Just shove it on the wiki regardless. If its useless then no one will read it. If its a bit unreadable, then people will fix it. If its useful the world will benefit. Any outcome is a good outcome!
Ok: I've put it on the wiki: http://www.haskell.org/haskellwiki/The_Monadic_Way Added some stuff: I've basicly introduced the do-notation. Andrea

On Thu, 2006-08-24 at 20:53 +0200, Andrea Rossato wrote:
Hello!
I' m new to Haskell and try to find my way through types and monads. I tried the yet Another Haskell Tutorial, very useful for types, but almost unreadable for monads (that's my perspective!). Then I discovered that wonderful paper by Wadler (Monads for functional programming). So I started "translating it" for someone who can be scared of something with an abstract and footnotes coming from a professor.
I started writing it in order to clarify to myself this difficult topic. I think I'm now grasping the concept of monads. I thought that someone else could find my writings useful.
It could become a page on the wiki. But before posting there I would like to have your opinion. Perhaps this is just something unreadable.
Let me know. Andrea
As another Haskell newbie - I like it! Well done! I particularly like your simple examples, and the very clear description of each step in the tutorial. Fwiw, this would be the best "absolute beginner's guide to monads" that I've seen. Keep up the good work! - Andy
participants (3)
-
Andrea Rossato
-
Andy Elvey
-
Neil Mitchell