Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Man-or-boy-test/PicoLisp/man-or-boy-test.l
Normal file
8
Task/Man-or-boy-test/PicoLisp/man-or-boy-test.l
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(de a (K X1 X2 X3 X4 X5)
|
||||
(let (@K (cons K) B (cons)) # Explicit frame
|
||||
(set B
|
||||
(curry (@K B X1 X2 X3 X4) ()
|
||||
(a (dec @K) (car B) X1 X2 X3 X4) ) )
|
||||
(if (gt0 (car @K)) ((car B)) (+ (X4) (X5))) ) )
|
||||
|
||||
(a 10 '(() 1) '(() -1) '(() -1) '(() 1) '(() 0))
|
||||
Loading…
Add table
Add a link
Reference in a new issue