negate?
Categories: Type procedures
, Higher-order procedures
;;; (negate? proc) -> procedure?
;;; proc : procedure?
;;; Returns a procedure that returns the negation of `proc`. That is,
;;; returns a procedure that returns `not` of the result of `proc`.
Forthcoming.
(define negate?
(lambda (proc)
(lambda vals
(not (apply proc vals)))))
Forthcoming.
Forthcoming.
Forthcoming.