combinators: Fix case of variable name in procedure documentation strings
parent
1526639961
commit
1cf88b8a7e
|
@ -12,12 +12,12 @@
|
|||
|
||||
(define (all-of pred)
|
||||
"Returns a procedure that takes a list LST and returns #t if every other
|
||||
element of LST satisfies pred."
|
||||
element of LST satisfies PRED."
|
||||
(lambda (lst) (null? (filter (negate pred) lst))))
|
||||
|
||||
(define (any-of pred)
|
||||
"Returns a procedure that takes a list LST and returns #t if any element of
|
||||
LST satisfies pred."
|
||||
LST satisfies PRED."
|
||||
(match-lambda
|
||||
(() #f)
|
||||
((head . tail)
|
||||
|
|
Loading…
Reference in New Issue