[Haskell-cafe] Haskell & monads for newbies (was "Functional
dependencies *not* part of the next Haskell standard?")
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Jul 12 11:35:25 EDT 2007
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
> object, and where the compiler garantees "monadic" usage of that object
btw, internally most haskell compilers do the same and monad syntax is
just syntax sugar above this. look at http://haskell.org/haskellwiki/IO_inside
to complete the picture. and ST monad does the same too
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list