[Haskell-beginners] Translating imperative algorithms to Haskell

Felipe Lessa felipe.lessa at gmail.com
Fri Feb 19 16:18:59 EST 2010


On Fri, Feb 19, 2010 at 10:07:19PM +0200, Mikhail Novikov wrote:
> So basically, I wonder if there is some generic way to transfer
> imperative algorithms with local state to functional style
> without making them overly complex.

It may be worthwhile to not translate at all.  ST monad works as
a charm :).  Haskell is one of the best imperative languages.

--
Felipe.


More information about the Beginners mailing list