Safe Haskell | None |
---|---|
Language | Haskell98 |
Progress estimates.
progress
is good for functions the recursion trees of which are very unbalanced.
progressWithCalls
is good for functions that consume their input very long
before they finish.
Documentation
progressWithCalls :: ((t -> IO b) -> t -> IO b) -> t -> IO b Source
...based on number of recursive calls.
It returns a result equivalent to that of fix f x.
progressWithCalls' :: ((a -> c) -> a -> c) -> a -> IO c Source