fixing bad error message for assf
The old error message requested a function of 2 arguments while the quasi-contract demands one of 1 argument.
This commit is contained in:
parent
582e85adf7
commit
8deaa4cf91
|
@ -184,7 +184,7 @@
|
|||
[assf
|
||||
(lambda (f l)
|
||||
(unless (and (procedure? f) (procedure-arity-includes? f 1))
|
||||
(raise-argument-error 'assf "(any/c any/c . -> . any/c)" f))
|
||||
(raise-argument-error 'assf "(any/c . -> . any/c)" f))
|
||||
(assoc-loop 'assf #f l (lambda (_ a) (f a))))])
|
||||
(values assq assv assoc assf))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user