flix

0.77.0

ForEach.WithIndex

enum WithIndex[t: Type]Source
case WithIndex(t)

A view for ForEach instance t that wraps each element with its index.

Instances

instance ForEach[WithIndex[t]] with ForEach[t]Source
type Elm = (Int32, Elm[t])type Aef = Aef[t]