[Haskell-cafe] Monad Imparative Usage Example

Kaveh Shahbazian kaveh.shahbazian at gmail.com
Sat Aug 5 01:21:58 EDT 2006


Thanks All
This is about my tries to understand monads and handling state - as
you perfectly know - is one of them. I have understood a little about
monads but that knowledge does not satidfy me. Again Thankyou

On 8/2/06, Donn Cave <donn at drizzle.com> wrote:
> On Wed, 2 Aug 2006, Donald Bruce Stewart wrote:
> ...
> > Of course, if you're learning Haskell, you should probably try to
> > /avoid/ mutable variables for a while.
>
> Along the same line, I note that proposed solutions seem to use
> features relatively recently added to the language, is that true?
> StateT requires multi-parameter type class, for example, so it
> can't have been there all along.  MVar is pretty new, isn't it?
> IORef must be the oldest of them, but hardly there from the start,
> I suspect.
>
> To learn core concepts, maybe it's a good idea to stay away
> from GHC in the beginning, and use Hugs or something that tends
> not to be so much of a magnet for new features.  That forces you
> to look for a solution on the terms of the basic language concepts.
>
>         Donn
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list