Nathan Braswell
|
5a61d5f90c
|
Added destructuring lambda/rec-lambda, changed let to use the same [] array destructuring syntax, added basic multiset & set-foldl. Fixed a bunch of bugs in fungll, hopefully close to working, but just realized that < is only defined for ints, while it's how the RB-Tree set/map sort their values/keys, so I'll need to extend it like = for all types. Tomorrow!
|
2021-08-04 00:56:04 -04:00 |
|
Nathan Braswell
|
c96f20c80e
|
Add lcompose to prelude, size to rb, and sketch out fungll. Still haven't figured out the exact datatype for grammer_slots and have decided to implement [] destrucuring in lambda params, and change let destructuring to use [].
|
2021-08-03 00:56:07 -04:00 |
|
Nathan Braswell
|
dc712060cd
|
generalize RB-Tree and make wrapper functions to use as a set or map
|
2021-08-02 20:34:01 -04:00 |
|
Nathan Braswell
|
e0802baf5e
|
Extend match to support ~unquote for matching against the *value* of expressions or variables, and use that to implement deletion for the RB-tree set
|
2021-08-01 23:48:41 -04:00 |
|
Nathan Braswell
|
93fd0d1943
|
Initial insert-only RB tree implementing a set
|
2021-08-01 22:15:58 -04:00 |
|