1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-09-07 12:54:31 +00:00

Fix minmax.lisp example

This commit is contained in:
David Schmenk 2024-07-24 20:44:04 -07:00
parent 54b36f9ef7
commit c3ea787808
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1,7 +1,7 @@
(DEFINE
(MINL (LAMBDA (M L)
(COND ((NULL L), M)
((< M (CAR L), (MINL M (CDR L))))
((< M (CAR L)), (MINL M (CDR L)))
(T, (MINL (CAR L) (CDR L)))
))
)
@ -13,7 +13,7 @@
)
(MAXL (LAMBDA (M L)
(COND ((NULL L), M)
((> M (CAR L), (MINL M (CDR L))))
((> M (CAR L)), (MINL M (CDR L)))
(T, (MINL (CAR L) (CDR L)))
))
)