feat: add LevelSet and PersistentLevelSet
This commit is contained in:
parent
b0fd7ad264
commit
abc8811498
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ prelude
|
|||
import Init.Data.Option.Basic
|
||||
import Init.Data.HashMap
|
||||
import Init.Data.PersistentHashMap
|
||||
import Init.Data.HashSet
|
||||
import Init.Data.PersistentHashSet
|
||||
import Init.Lean.Data.Name
|
||||
import Init.Lean.Data.Format
|
||||
|
||||
|
|
@ -432,6 +434,9 @@ end Level
|
|||
|
||||
abbrev LevelMap (α : Type) := HashMap Level α
|
||||
abbrev PersistentLevelMap (α : Type) := PHashMap Level α
|
||||
abbrev LevelSet := HashSet Level
|
||||
abbrev PersistentLevelSet := PHashSet Level
|
||||
abbrev PLevelSet := PersistentLevelSet
|
||||
|
||||
end Lean
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue