Re: [Haskell-cafe] Gentle introduction questions / comments

2009-01-27 Thread Cristiano Paris
2009/1/27 Matthijs Kooijman matth...@stdin.nl Hi all, I've been reading the gentle introduction to Haskell a bit more closely today and there a few things which I can't quite understand (presumably because they are typo's). I've found two issues with the Using monads section [1]. Not sure

Re: [Haskell-cafe] Gentle introduction questions / comments

2009-01-27 Thread Matthijs Kooijman
Hi Cristiano, Mmmmhhh... this seems the signature of the liftM function, whose purpose is to make a function operate on monadic values instead of pure values. Notice that this is different from the lift function you described above. A computation is a monadic value (i.e. an object of the

Re: [Haskell-cafe] Gentle introduction questions / comments

2009-01-27 Thread Cristiano Paris
On Tue, Jan 27, 2009 at 3:17 PM, Matthijs Kooijman matth...@stdin.nl wrote: Hi Cristiano, Mmmmhhh... this seems the signature of the liftM function, whose purpose is to make a function operate on monadic values instead of pure values. Notice that this is different from the lift function you

Re: [Haskell-cafe] Gentle introduction questions / comments

2009-01-27 Thread Ryan Ingram
2009/1/27 Matthijs Kooijman matth...@stdin.nl: Hi all, I've been reading the gentle introduction to Haskell a bit more closely today and there a few things which I can't quite understand (presumably because they are typo's). I've found two issues with the Using monads section [1]. Not sure