fix "non-pair" error message for ass{oc,q,v,f}

This commit is contained in:
Matthew Flatt 2021-03-17 13:53:40 -06:00
parent d0feb5c75a
commit e2cbd9bd73

View File

@ -132,11 +132,10 @@
"not a proper list: " "not a proper list: "
orig-l)) orig-l))
(define (bad-item who a orig-l) (define (bad-item who a orig-l)
(raise-mismatch-error who (raise-arguments-error who
"non-pair found in list: " "non-pair found in list"
a "non-pair" a
" in " "list" orig-l))
orig-l))
(define-values (assq assv assoc assf) (define-values (assq assv assoc assf)
(let () (let ()