basic: trying to solve why currying does not work as it should do in recursive function

This commit is contained in:
minjaesong
2020-12-21 17:50:27 +09:00
parent e11038254a
commit 8600207e34
4 changed files with 69 additions and 15 deletions

4
assets/curryarray.bas Normal file
View File

@@ -0,0 +1,4 @@
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)