Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit b4814bb

Browse files
committed
fixup! Add HashMap (HAMT) spec
1 parent 8ed54be commit b4814bb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

schema-layer/data-structures/hashmap.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,9 @@ type HashMapNode struct {
109109
}
110110
111111
type Element union {
112-
| Child "child"
113-
| Bucket "bucket"
114-
} representation keyed
115-
116-
type Child union {
117-
| Link link
118112
| HashMapNode map
113+
| &HashMapNode link
114+
| Bucket list
119115
} representation kinded
120116
121117
type Bucket list [ BucketEntry ]

0 commit comments

Comments
 (0)