Documentation

Init.Data.Slice.List.Iterator

This module implements an iterator for list slices.

Equations
  • One or more equations did not get rendered due to their size.
instance instForInListSlice {α : Type u} {m : Type v → Type w} :
ForIn m (ListSlice α) α
Equations
def List.ofSlice {α : Type u} (s : ListSlice α) :
List α

Allocates a new list that contains the contents of the slice.

Equations
Instances For
    Equations
    instance List.instReprListSlice {α : Type u} [Repr α] :
    Equations
    def ListSlice.toList {α : Type u} (s : ListSlice α) :
    List α

    Allocates a new list that contains the contents of the slice.

    Equations
    Instances For