[Haskell-cafe] Monads as control structures?

Bryn Keller xoltar at xoltar.org
Thu Oct 27 12:34:01 EDT 2005


Creighton Hogg wrote:
> Hi,
> so I'm a newbie getting used to Haskell.  I'm writing some 
> simple things like genetic algorithms in it for practice, 
> and I keep coming across something that really bugs me:  
> are there any standard libraries that allow you to 
> do imperative style for or while loops using monads to keep 
> track of state?
>   
http://www.xoltar.org/2003/sep/09/haskellLoops.html

Hope that helps,

Bryn


More information about the Haskell-Cafe mailing list