TicTacToe - 0.1.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}} (low high : N) : Range NSource#

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

step {N} (range : Range N) (step : N) : StepRange NSource#

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