Algorithm.range

Creates a range from an enumerable.

Arguments

The source

enumerable
.

Return values

The

range
of all values in the enumerable (see Range).

Complexity

Constant

Example

"sl/algorithm" useFile "sl/linkedList" useFile a: (1 2 3) makeList; a range [print "," print] each
Output:
1,2,3,