
1 Oct
2011
1 Oct
'11
8:01 a.m.
Hi.
On 1 October 2011 11:55, Yves Parès
BTW Heinrich, the
evalState (sequence . repeat . State $ \s -> (s,s+1)) 0
at the end doesn't work anymore. It should be replaced by : evalState (sequence . repeat . StateT $ \s -> Identity (s,s+1)) 0
Or equivalently: evalState (sequence . repeat . state $ \s -> (s,s+1)) 0 Ozgur