-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
An other approach is to just write the monad you want your self. If
you understand monads it's not very difficult (just a few lines). It
gives you exactly the monad you want without all the complicated
abstraction. And error messages should be very
What are you using instead of mtl? I need simple type for State.
The more classy it gets the harder error messages are to understand.
I've installed new package. Silently it installed new mtl.
And here I'm staring into three lines of code for half an hour
trying to understand where I misused the
Anton Kholomiov anton.kholom...@gmail.com wrote:
What are you using instead of mtl? I need simple type for State. The
more classy it gets the harder error messages are to understand. I've
installed new package. Silently it installed new mtl. And here I'm
staring into three lines of code
* Anton Kholomiov anton.kholom...@gmail.com [2012-06-16 17:59:23+0400]
It's class for strict and lazy states. Maybe it's better
to take approach of containers (the same interface and different modules)?
The lazy and strict State monads differ only in their = operator.
Since you don't have
I'd rather use 'transformers' then.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe