News for hackers. Stuff that matters.
Re:A Year of Functional Programming by chongli on Monday June 09, 2014 @12:28PM (#7869127)
This is actually very simple and straightforward to do using the ST monad[0]. See the paper Lazy Functional State Threads[1] for details.

[0] http://hackage.haskell.org/package/base-4.7.0.0/docs/Control...

[1] http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.144...

There are no comments on this comment yet.