basic: currying is now operator & does not require special treatment on tree execution

This commit is contained in:
minjaesong
2020-12-22 17:21:42 +09:00
parent d785ecf568
commit 2f054b9c67
11 changed files with 308 additions and 308 deletions

View File

@@ -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