:: Int -> (a -> a) -> a -> a package:utility-ht

Compositional power of a function, i.e. apply the function n times to a value. It is rather the same as iter in Simon Thompson: "The Craft of Functional Programming", page 172