Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Gen ¶
Gen creates an iter.Seq that yield number in range.
If `to` less-equal than `from`, yield nothing as Empty.
Example:
source.Gen(2,5) => seq: 2,3,4 source.Gen(2,1) => seq:
func RepeatTimes ¶
RepeatTimes creates an iter.Seq that repeats a single element a given number of times.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.