[Haskell-cafe] more functions to evaluate

Dan Weston westondan at imageworks.com
Fri Oct 12 19:20:32 EDT 2007


I like that name, and will henceforth use it myself until someone sees 
fit to add it to the Prelude!

Maxime Henrion wrote:
> Isaac Dupree wrote:
>> 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)
> 
> What do you think about calling it iterateN instead?
> 
> Maxime
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 




More information about the Haskell-Cafe mailing list