[Haskell-cafe] more functions to evaluate

Isaac Dupree isaacdupree at charter.net
Fri Oct 12 18:13:58 EDT 2007


Dan Weston wrote:
> applyNtimes :: (a -> a) -> Int -> a -> a
> 
> This sounds like it should be in the library somewhere

agree, I've used it a few times (mostly for testing things) - modulo 
argument order and Int vs. Integer vs. (Num a => a)

Isaac


More information about the Haskell-Cafe mailing list