instance
Lake.OrdHashSet.instCoeHashSet
{α : Type u_1}
[Hashable α]
[BEq α]
:
Coe (Lake.OrdHashSet α) (Std.HashSet α)
Equations
- Lake.OrdHashSet.instCoeHashSet = { coe := Lake.OrdHashSet.toHashSet }
Equations
- Lake.OrdHashSet.instEmptyCollection = { emptyCollection := Lake.OrdHashSet.empty }
Instances For
Instances For
def
Lake.OrdHashSet.appendArray
{α : Type u_1}
[Hashable α]
[BEq α]
(self : Lake.OrdHashSet α)
(arr : Array α)
:
Instances For
instance
Lake.OrdHashSet.instHAppendArray
{α : Type u_1}
[Hashable α]
[BEq α]
:
HAppend (Lake.OrdHashSet α) (Array α) (Lake.OrdHashSet α)
Equations
- Lake.OrdHashSet.instHAppendArray = { hAppend := Lake.OrdHashSet.appendArray }
Instances For
Instances For
@[inline]
def
Lake.OrdHashSet.all
{α : Type u_1}
[Hashable α]
[BEq α]
(f : α → Bool)
(self : Lake.OrdHashSet α)
:
Instances For
@[inline]
def
Lake.OrdHashSet.any
{α : Type u_1}
[Hashable α]
[BEq α]
(f : α → Bool)
(self : Lake.OrdHashSet α)
:
Instances For
@[inline]
def
Lake.OrdHashSet.foldl
{α : Type u_1}
[Hashable α]
[BEq α]
{β : Type u_2}
(f : β → α → β)
(init : β)
(self : Lake.OrdHashSet α)
:
β
Equations
- Lake.OrdHashSet.foldl f init self = Array.foldl f init self.toArray
Instances For
@[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 : Lake.OrdHashSet α)
:
m β
Equations
- Lake.OrdHashSet.foldlM f init self = Array.foldlM f init self.toArray
Instances For
@[inline]
def
Lake.OrdHashSet.foldr
{α : Type u_1}
[Hashable α]
[BEq α]
{β : Type u_2}
(f : α → β → β)
(init : β)
(self : Lake.OrdHashSet α)
:
β
Equations
- Lake.OrdHashSet.foldr f init self = Array.foldr f init self.toArray
Instances For
@[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 : Lake.OrdHashSet α)
:
m β
Equations
- Lake.OrdHashSet.foldrM f init self = Array.foldrM f init self.toArray
Instances For
instance
Lake.OrdHashSet.instForIn
{α : Type u_1}
[Hashable α]
[BEq α]
{m : Type u_2 → Type u_3}
:
ForIn m (Lake.OrdHashSet α) α