combinators: Fix case of variable name in procedure documentation strings

pull/1/head
Luis Guilherme Coelho 2024-01-08 22:28:16 -03:00
parent 1526639961
commit 1cf88b8a7e
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 2 additions and 2 deletions

View File

@ -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)