Re: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-14 Thread Alexis Hazell
On Saturday 14 July 2007 05:21, Andrew Coppin wrote: > Still, while the concept is simple, it's hard to sum up in just a few > words what a monad "is". (Especially given that Haskell has so many > different ones - and they seem superficially to bear no resemblence to > each other.) Well, how abou

Re: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-13 Thread Derek Elkins
On Fri, 2007-07-13 at 15:08 +0200, D.V. wrote: > On 7/12/07, Andrew Coppin <[EMAIL PROTECTED]> wrote: > > > Monads take a while to "get used to", but they're not so scary after that... > > The problem with monads is that there is a gazillion tutorials to > explain them, each with their own analog

Re: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-13 Thread Andrew Coppin
D.V. wrote: On 7/12/07, Andrew Coppin <[EMAIL PROTECTED]> wrote: Monads take a while to "get used to", but they're not so scary after that... The problem with monads is that there is a gazillion tutorials to explain them, each with their own analogy that works well for the author but not nece

Re: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-13 Thread D . V .
On 7/12/07, Andrew Coppin <[EMAIL PROTECTED]> wrote: Monads take a while to "get used to", but they're not so scary after that... The problem with monads is that there is a gazillion tutorials to explain them, each with their own analogy that works well for the author but not necessarily for y

Re[2]: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-13 Thread Bulat Ziganshin
Hello peterv, Thursday, July 12, 2007, 6:01:43 PM, you wrote: > Haskell or typically N times shorter than their imp/OO counterparts, it > would take *me* at least N^2 longer to write them ;) (now I must admit I had > the same feeling when switching from 680x0 assembler to C++, but let's say > N*2

Re: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-12 Thread Andrew Coppin
peterv wrote: It looks like its gonna take a long time for me to learn Haskell. I'm not sure if my long history of imperative and object-oriented programming has something to do with it. Reading Haskell books like SOE is one thing, but writing software in Haskell is really difficult for me. It

RE: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-12 Thread Derek Elkins
On Thu, 2007-07-12 at 16:01 +0200, peterv wrote: > Thanks for the advice. I did not really deeply investigate the monad type > classes yet... > > It looks like its gonna take a long time for me to learn Haskell. I'm not > sure if my long history of imperative and object-oriented programming has >

Re[2]: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-12 Thread Bulat Ziganshin
Hello peterv, Thursday, July 12, 2007, 6:01:43 PM, you wrote: > Monads were very confusing because I first looked at Concurrent Clean (it > comes with an IDE and games! :), and that language uses a simple "uniqueness > typing" approach where the "world" or "state" is explicitly passed as an > obj

RE: [Haskell-cafe] Haskell & monads for newbies (was "Functional dependencies *not* part of the next Haskell standard?")

2007-07-12 Thread peterv
Thanks for the advice. I did not really deeply investigate the monad type classes yet... It looks like its gonna take a long time for me to learn Haskell. I'm not sure if my long history of imperative and object-oriented programming has something to do with it. Reading Haskell books like SOE is on