Lisp standard library + brain migration (Closes #155) #164
Loading…
Reference in a new issue
No description provided.
Delete branch "155-stdlib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New builtins: sum, average, min/max (also accept a single list), map, filter, reduce, find, count-if, any?, all?, take, drop, zip, group-by, unique, sort, sort-by (stable), clamp, lerp, log, round.
adapt, empire, and super drop their hand-written list-max/list-min/sum-loans/sum-list/trim and the recursive scan-book walkers (now filter/map one-liners). count-face stays recursive until lambda lands in #157, since it closes over its argument.
Verified behavior-preserving: a full seeded spectate of the migrated brains against the old recursive versions produces byte-identical output. Full suite green, vet clean. Collection types (hash/set/vector/queue) deferred to #159/#160 where they have real use.