Documentation

Lake.Util.OrdHashSet

def Lake.OrdHashSet.empty {α : Type u_1} [Hashable α] [BEq α] :
Equations
def Lake.OrdHashSet.mkEmpty {α : Type u_1} [Hashable α] [BEq α] (size : Nat) :
Equations
def Lake.OrdHashSet.insert {α : Type u_1} [Hashable α] [BEq α] (self : OrdHashSet α) (a : α) :
Equations
def Lake.OrdHashSet.appendArray {α : Type u_1} [Hashable α] [BEq α] (self : OrdHashSet α) (arr : Array α) :
Equations
def Lake.OrdHashSet.append {α : Type u_1} [Hashable α] [BEq α] (self other : OrdHashSet α) :
Equations
@[inline]
def Lake.OrdHashSet.all {α : Type u_1} [Hashable α] [BEq α] (f : αBool) (self : OrdHashSet α) :
Equations
@[inline]
def Lake.OrdHashSet.any {α : Type u_1} [Hashable α] [BEq α] (f : αBool) (self : OrdHashSet α) :
Equations
@[inline]
def Lake.OrdHashSet.foldl {α : Type u_1} [Hashable α] [BEq α] {β : Type u_2} (f : βαβ) (init : β) (self : OrdHashSet α) :
β
Equations
@[inline]
def Lake.OrdHashSet.foldlM {α : Type u_1} [Hashable α] [BEq α] {m : Type u_2 → Type u_3} {β : Type u_2} [Monad m] (f : βαm β) (init : β) (self : OrdHashSet α) :
m β
Equations
@[inline]
def Lake.OrdHashSet.foldr {α : Type u_1} [Hashable α] [BEq α] {β : Type u_2} (f : αββ) (init : β) (self : OrdHashSet α) :
β
Equations
@[inline]
def Lake.OrdHashSet.foldrM {α : Type u_1} [Hashable α] [BEq α] {m : Type u_2 → Type u_3} {β : Type u_2} [Monad m] (f : αβm β) (init : β) (self : OrdHashSet α) :
m β
Equations
@[inline]
def Lake.OrdHashSet.forM {α : Type u_1} [Hashable α] [BEq α] {m : Type u_2 → Type u_3} [Monad m] (f : αm PUnit) (self : OrdHashSet α) :
Equations
@[inline]
def Lake.OrdHashSet.forIn {α : Type u_1} [Hashable α] [BEq α] {m : Type u_2 → Type u_3} {β : Type u_2} [Monad m] (self : OrdHashSet α) (init : β) (f : αβm (ForInStep β)) :
m β
Equations
instance Lake.OrdHashSet.instForIn {α : Type u_1} [Hashable α] [BEq α] {m : Type u_2 → Type u_3} :
ForIn m (OrdHashSet α) α
Equations