[Haskell-beginners] Translating imperative algorithms to Haskell
freiksenet at gmail.com
Fri Feb 19 17:10:59 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Maybe I should look into ST monad for this. :) I am still interested if there is a way to make this kind of functions in purely functional way.
Best regards, Mikhail
On 02/19/2010 11:18 PM, Felipe Lessa wrote:
> 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.
> Beginners mailing list
> Beginners at haskell.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Beginners