Equations
Instances For
@[inline]
Equations
Instances For
Equations
- Lean.NameMap.instEmptyCollection α = { emptyCollection := Lean.mkNameMap α }
Equations
- Lean.NameMap.instInhabited α = { default := ∅ }
Equations
- m.insert n a = Lean.RBMap.insert m n a
Instances For
Equations
- m.contains n = Lean.RBMap.contains m n
Instances For
Equations
- m.find? n = Lean.RBMap.find? m n
Instances For
Equations
filter f m
returns the NameMap
consisting of all
"key
/val
"-pairs in m
where f key val
returns true
.
Equations
- Lean.NameMap.filter f m = Lean.RBMap.filter f m
Instances For
Equations
Instances For
Instances For
Equations
- Lean.NameSet.instEmptyCollection = { emptyCollection := Lean.NameSet.empty }
Equations
- Lean.NameSet.instInhabited = { default := Lean.NameSet.empty }
Equations
- s.insert n = Lean.RBTree.insert s n
Instances For
Equations
- s.contains n = Lean.RBMap.contains s n
Instances For
Equations
- Lean.NameSet.instAppend = { append := Lean.NameSet.append }
filter f s
returns the NameSet
consisting of all x
in s
where f x
returns true
.
Equations
- Lean.NameSet.filter f s = Lean.RBTree.filter f s
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- Lean.NameSSet.instEmptyCollection = { emptyCollection := Lean.NameSSet.empty }
Equations
- Lean.NameSSet.instInhabited = { default := Lean.NameSSet.empty }
@[inline]
Equations
Instances For
Equations
- Lean.NameHashSet.instEmptyCollection = { emptyCollection := Lean.NameHashSet.empty }
Equations
- Lean.NameHashSet.instInhabited = { default := ∅ }
Equations
- s.insert n = Std.HashSet.insert s n
Instances For
Equations
- s.contains n = Std.HashSet.contains s n
Instances For
filter f s
returns the NameHashSet
consisting of all x
in s
where f x
returns true
.