Fwd: [Haskell-cafe] Fuzzy time deltas

2010-10-15 Thread Alberto G. Corona
Michael, The package Workflow has persistent timeouts (can wait for years and restart on system failure if embedded in the workflow monad, although it can run in the IO monad, with no recovery). They are composable with any action in the STM monad with orElse: flag - getTimeoutFlag $

[Haskell-cafe] Fuzzy time deltas

2010-10-13 Thread Michael Snoyman
Hey all, Is there a library that supports fuzzy time deltas? For example, given two UTCTimes (or something like that) it could produce: 43 seconds 13 minutes 17 hours 4 days 8 months I want to use it for the news feature on Haskellers. It's not that hard to write, just wondering if it's already