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 [].
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
(let (
|
||||
print_through (lambda (x) (do (println x) x))
|
||||
|
||||
lcompose (lambda (g f) (lambda (& args) (lapply g (array (lapply f args)))))
|
||||
|
||||
rec-lambda (vau se (n p b) (eval (array Y (array lambda (array n) (array lambda p b))) se))
|
||||
|
||||
if (vau de (con than & else) (cond (eval con de) (eval than de)
|
||||
@@ -210,6 +212,7 @@
|
||||
not
|
||||
lapply
|
||||
vapply
|
||||
lcompose
|
||||
Y
|
||||
vY
|
||||
Y*
|
||||
|
||||
Reference in New Issue
Block a user