Scroll to navigation

Lazy.countFrom(3kaya) Kaya module reference Lazy.countFrom(3kaya)

NAME

Lazy::countFrom - Create an infinite list of numbers.

SYNOPSIS

Lazy::List<Int> countFrom( Int x, Int step=1 )

ARGUMENTS

x The initial number
step The step to increase by

DESCRIPTION

Create an infinite list of numbers, starting with x and increasing by step each time.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Lazy.List (3kaya)
August 2014 Kaya