[Haskell-beginners] Pure function with timeout

Alex Rozenshteyn rpglover64 at gmail.com
Fri Mar 4 20:04:55 CET 2011


I read http://www.haskell.org/haskellwiki/Timing_out_computations
I thought I saw an issue and tested it:
http://hpaste.org/44512/timed_iteration

IMO, the timeout function should return the last iterated value when it is
signaled, and not the next one after the signal.

Is there a convention for this behavior?

-- 
          Alex R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110304/05019642/attachment.htm>


More information about the Beginners mailing list