Re: [Haskell-cafe] haskell2010 and state question.

2010-12-11 Thread Henning Thielemann
Henk-Jan van Tuyl schrieb: On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Formerly, I had IORef and some state monad to do the task of keeping states. Now in haskell 2010, I cannot find anything about it. Do I have to use ghc base

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-11 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/9/10 20:40 , Magicloud Magiclouds wrote: First to notice that. So standard-wise, there is no way to do state thing? There seems to be a lot of confusion as to what the language standard covers. It is a bare minimum; practical libraries are

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-09 Thread Magicloud Magiclouds
On Wed, Dec 8, 2010 at 6:46 PM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi,  Formerly, I had IORef and some state monad to do the task of keeping states.  Now in haskell 2010, I cannot find

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-09 Thread Thomas Schilling
On 10 December 2010 01:40, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: On Wed, Dec 8, 2010 at 6:46 PM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi,  Formerly, I had IORef and some

[Haskell-cafe] haskell2010 and state question.

2010-12-08 Thread Magicloud Magiclouds
Hi, Formerly, I had IORef and some state monad to do the task of keeping states. Now in haskell 2010, I cannot find anything about it. Do I have to use ghc base package for this function? -- 竹密岂妨流水过 山高哪阻野云飞 ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-08 Thread Henk-Jan van Tuyl
On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Formerly, I had IORef and some state monad to do the task of keeping states. Now in haskell 2010, I cannot find anything about it. Do I have to use ghc base package for this function?

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-08 Thread Johan Tibell
On Wed, Dec 8, 2010 at 11:46 AM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: the state monad is in both the mtl and the transformers package (mtl is deprecated). mtl is not deprecated. mtl-2 depends on transformers. ___ Haskell-Cafe mailing list