docs - 0.0.0

Stdlib.Data.Range

Definitions

type Range NSource#

An inclusive range of naturals

Constructors

| mkRange { low : N; high : N }

Constructors

| mkStepRange { range : Range N; step : N }

to {N} {{Natural N}} (l h : N) : Range NSource#

`x to y` is the range [x..y]

step {N} (r : Range N) (s : N) : StepRange NSource#

`x to y step s` is the range [x, x + s, ..., y]