Instant is
off
|
Search plugin
|
Manual
|
haskell.org
iterate
-base +containers
Packages
base
containers
iterate
N
:: Int -> (a -> a) -> a -> Seq a
containers
Data.Sequence
O(n)
. Constructs a sequence by repeated application of a function to a seed value. > iterateN n f x = fromList (Prelude.take n (Prelude.iterate f x))
©
Neil Mitchell
2004-2012, version 4.2.11