[Haskell-cafe] Simple but interesting (for me) problem
nowgate at yahoo.com
Wed Oct 21 13:34:47 EDT 2009
There's a thread on the plt-scheme list about creating a function of NO arguments named NEXT that just returns the number of times it's been called, a piece of cake in Scheme, but how would one do this in Haskell? Would the best approach be to use a State monad?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe