Friday, 6 September 2013

How to control computation process in Haskell

How to control computation process in Haskell

I have a function in my main block
map anyHeavyFunction [list]
I'd like to show progress bar in computation process or add additional
actions (pause, stop process e.t.c), but because of map is a pure function
I can't do it directly. As I can glance I have to use monads, but what
monad is appropriate IO, State?

No comments:

Post a Comment