mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-10 21:21:51 +09:00
basic: currying is now operator & does not require special treatment on tree execution
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
1 KS=4!1!2!5!3!NIL
|
||||
10 DEFUN LESSER(P,X)=X<P
|
||||
11 KLS=CURRY(LESSER,KS(0))
|
||||
20 PRINT KLS(6)
|
||||
11 KLS=LESSER<~HEAD KS
|
||||
20 FOR K=1 TO 5
|
||||
21 PRINT KLS(K)
|
||||
22 NEXT
|
||||
|
||||
Reference in New Issue
Block a user