forgot something
This commit is contained in:
parent
cb45d88e17
commit
a9e21d7d94
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ export const fold = callback => initial => dict => {
|
|||
for (const iter=dict.tree.begin; iter !== undefined && iter.valid; iter.next()) {
|
||||
acc = callback(acc)(iter.key)(iter.value);
|
||||
}
|
||||
return acc;
|
||||
}
|
||||
|
||||
export const first = dict => dict.tree.begin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue