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