On 8/6/09, Don Stewart d...@galois.com wrote:
leaveye.guo:
Hi haskellers:
There is a mistake in http://www.haskell.org/haskellwiki/State_Monad
It post two functions like this :
evalState :: State s a - s - a
evalState act = fst $ runState act
execState :: State s a - s -
Don Stewart wrote:
leaveye.guo:
Hi haskellers:
There is a mistake in http://www.haskell.org/haskellwiki/State_Monad
It post two functions like this :
evalState :: State s a - s - a
evalState act = fst $ runState act
execState :: State s a - s - s
execState act = snd $ runState act
On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthurjake.mcart...@gmail.com wrote:
Which requires registration and has not been open for registration for some
time now.
- Jake
It's been open for registration for some time now.
--
gwern
signature.asc
Description: OpenPGP digital signature
On Thu, Aug 6, 2009 at 15:52, Gwern Branwen wrote:
On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthur wrote:
Which requires registration and has not been open for registration for
some
time now.
It's been open for registration for some time now.
In that case, how about changing the site
On Thu, Aug 6, 2009 at 10:01 AM, Sean Leatherleat...@cs.uu.nl wrote:
On Thu, Aug 6, 2009 at 15:52, Gwern Branwen wrote:
On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthur wrote:
Which requires registration and has not been open for registration for
some
time now.
It's been open for
On Thu, Aug 6, 2009 at 3:01 PM, Sean Leatherleat...@cs.uu.nl wrote:
On Thu, Aug 6, 2009 at 15:52, Gwern Branwen wrote:
On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthur wrote:
Which requires registration and has not been open for registration for
some
time now.
It's been open for
Hi haskellers:
There is a mistake in http://www.haskell.org/haskellwiki/State_Monad
It post two functions like this :
evalState :: State s a - s - a
evalState act = fst $ runState act
execState :: State s a - s - s
execState act = snd $ runState act
Both the '$' operators should be
leaveye.guo:
Hi haskellers:
There is a mistake in http://www.haskell.org/haskellwiki/State_Monad
It post two functions like this :
evalState :: State s a - s - a
evalState act = fst $ runState act
execState :: State s a - s - s
execState act = snd $ runState act
Both the