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: "
orig-l))
(define (bad-item who a orig-l)
(raise-mismatch-error who
"non-pair found in list: "
a
" in "
orig-l))
(raise-arguments-error who
"non-pair found in list"
"non-pair" a
"list" orig-l))
(define-values (assq assv assoc assf)
(let ()