Idris2Doc : Spidr.Data.Vect

Spidr.Data.Vect

(source)
Vect definitions.

Reexports

importpublic Data.Vect

Definitions

range : (n : Nat) ->VectnNat
  All numbers from `0` to `n - 1` inclusive, in increasing order.

@n The (exclusive) limit of the range.

Totality: total
Visibility: export
enumerate : Vectna->Vectn (Nat, a)
  Enumerate entries in a vector with their indices. For example, `enumerate [5, 7, 9]`
is `[(0, 5), (1, 7), (2, 9)]`.

Totality: total
Visibility: export
functorIdentity : (xs : Vectna) ->mapidxs=xs
Totality: total
Visibility: public export