1Lazy.countFrom(3kaya) Kaya module reference Lazy.countFrom(3kaya)
2
3
4
6 Lazy::countFrom - Create an infinite list of numbers.
7
9 Lazy::List<Int> countFrom( Int x, Int step=1 )
10
12 x The initial number
13
14 step The step to increase by
15
17 Create an infinite list of numbers, starting with x and increasing by
18 step each time.
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
31 Lazy.List (3kaya)
32
33
34
35Kaya December 2010 Lazy.countFrom(3kaya)