13 Oct
2007
13 Oct
'07
4:42 a.m.
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