Skip to content

Commit 52403cd

Browse files
feat: maps and sets (#460)
1 parent 31a7029 commit 52403cd

File tree

8 files changed

+1493
-2
lines changed

8 files changed

+1493
-2
lines changed

Manual.lean

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ LawfulFunctor
193193
LawfulApplicative
194194
LawfulMonad
195195
LawfulBEq
196+
EquivBEq
196197
LawfulHashable
197198
Id
198199
Thunk
@@ -310,6 +311,35 @@ Eq
310311
HEq
311312
Max
312313
Min
314+
Std.HashMap
315+
Std.ExtHashMap
316+
Std.DHashMap
317+
Std.ExtDHashMap
318+
Std.HashSet
319+
Std.ExtHashSet
320+
Std.TreeMap
321+
Std.DTreeMap
322+
Std.TreeSet
323+
```
324+
325+
```exceptions
326+
Std.HashMap.all
327+
Std.HashMap.equiv_emptyWithCapacity_iff_isEmpty.match_1_1
328+
Std.HashMap.noConfusionType.withCtor
329+
Std.HashMap.noConfusionType.withCtorType
330+
Std.HashMap.«term_~m_»
331+
```
332+
333+
```exceptions
334+
Std.DHashMap.equiv_emptyWithCapacity_iff_isEmpty.match_1_1
335+
Std.DHashMap.insertMany_ind.match_1_1
336+
Std.DHashMap.isSetoid
337+
Std.DHashMap.«term_~m_»
338+
```
339+
340+
```exceptions
341+
Std.ExtHashMap.noConfusionType.withCtor
342+
Std.ExtHashMap.noConfusionType.withCtorType
313343
```
314344

315345
```exceptions

Manual/BasicTypes.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import Manual.BasicTypes.Empty
2121
import Manual.BasicTypes.Products
2222
import Manual.BasicTypes.Sum
2323
import Manual.BasicTypes.List
24+
import Manual.BasicTypes.Maps
2425
import Manual.BasicTypes.Subtype
2526
import Manual.BasicTypes.Thunk
2627

@@ -315,6 +316,8 @@ Most comparisons on Booleans should be performed using the {inst}`DecidableEq Bo
315316

316317
{include 0 Manual.BasicTypes.Array}
317318

319+
{include 0 Manual.BasicTypes.Maps}
320+
318321
{include 0 Manual.BasicTypes.Subtype}
319322

320323
{include 0 Manual.BasicTypes.Thunk}

0 commit comments

Comments
 (0)