mes: Add negate.
* module/mes/scm.mes (negate): New function.
This commit is contained in:
parent
45ce77df85
commit
11311bcaa7
|
@ -355,3 +355,7 @@
|
||||||
(let ((y (car rest)))
|
(let ((y (car rest)))
|
||||||
(let ((z (if (< x y) x y)))
|
(let ((z (if (< x y) x y)))
|
||||||
(apply min (cons z (cdr rest)))))))
|
(apply min (cons z (cdr rest)))))))
|
||||||
|
|
||||||
|
(define (negate proc)
|
||||||
|
(lambda args
|
||||||
|
(not (apply proc args))))
|
||||||
|
|
Loading…
Reference in a new issue