Re: [Haskell-cafe] Practical introduction to monads

2005-08-10 Thread Bulat Ziganshin
Hello Paul, Wednesday, August 03, 2005, 12:03:49 AM, you wrote: PM> One thing I haven't found a really good discussion of, is practical PM> examples of building monads. There's plenty of discussion of the IO i recall one more usage of monads - to do parsing. read the following: http://www.cs.no

Re: [Haskell-cafe] Practical introduction to monads

2005-08-03 Thread Stefan Holdermans
Yoann, I have also one time read an example where you use monads while implementing the unification or type inference algorithm, perhaps in the original monad paper (the essence of functional programming). I guess you are referring to Mark Jones' _Functional Programming with Overloading and

Re: [Haskell-cafe] Practical introduction to monads

2005-08-03 Thread yoann padioleau
On 2 août 05, at 22:03, Paul Moore wrote: I've started learning Haskell, and I'm going through all the tutorial material I can find - there's a lot of good stuff available. One thing I haven't found a really good discussion of, is practical examples of building monads. There's plenty of discus

Re: [Haskell-cafe] Practical introduction to monads

2005-08-02 Thread David Roundy
On Tue, Aug 02, 2005 at 09:03:49PM +0100, Paul Moore wrote: > I've started learning Haskell, and I'm going through all the tutorial > material I can find - there's a lot of good stuff available. > > One thing I haven't found a really good discussion of, is practical > examples of building monads.

Re: [Haskell-cafe] Practical introduction to monads

2005-08-02 Thread Greg Buchholz
Paul Moore wrote: > One thing I haven't found a really good discussion of, is practical > examples of building monads. There's plenty of discussion of the IO > monad, and the state monad, and a lot of good theory on monads, but > although I've seen tantalising statements about how powerful the > ab

Re: [Haskell-cafe] Practical introduction to monads

2005-08-02 Thread Philippa Cowderoy
On Tue, 2 Aug 2005, Paul Moore wrote: I've started learning Haskell, and I'm going through all the tutorial material I can find - there's a lot of good stuff available. One thing I haven't found a really good discussion of, is practical examples of building monads. I've not really seen any. S

Re: [Haskell-cafe] Practical introduction to monads

2005-08-02 Thread Peter Robinson
On Tuesday 02 August 2005 22:03, Paul Moore wrote: > FWIW, I've read (among other papers) "Why Functional Programming > Matters", "A Gentle Introduction to Haskell", Hal Daume's "Yet Another > Haskell Tutorial", Simon Peyton Jones' "Tackling the Awkward Squad", > and "Haskell: The Craft of Functio

[Haskell-cafe] Practical introduction to monads

2005-08-02 Thread Paul Moore
I've started learning Haskell, and I'm going through all the tutorial material I can find - there's a lot of good stuff available. One thing I haven't found a really good discussion of, is practical examples of building monads. There's plenty of discussion of the IO monad, and the state monad, and