Documentation

Std.Data.TreeSet.Iterator

Iterators on DTreeMap #

@[inline]
def Std.TreeSet.iter {α : Type u} {cmp : ααOrdering} (m : TreeSet α cmp) :
Iter α

Returns a finite iterator over the entries of a tree set. The iterator yields the elements of the set in order and then terminates.

Termination properties:

  • Finite instance: always
  • Productive instance: always
Equations
Instances For
    @[simp]
    theorem Std.TreeSet.toList_iter {α : Type u_1} {cmp : ααOrdering} (m : TreeSet α cmp) :