counter: Create a counter that counts forever (before overflowing).

Description Usage Arguments Value Examples

Description

Please notice the returned object class is not iterator.

Usage

1
counter(start = 1L, step = 1L)

Arguments

start

counter start

step

step size

Value

a counter function.

Examples

1
2
ctr <- counter(1, .5)
collect(ctr, 10)

imlijunda/AwkwardMLTools documentation built on May 13, 2019, 11:33 a.m.