check-arity/neg doesn't exist / doesn't work in Racket 6.11

This commit is contained in:
Suzanne Soy 2021-03-03 18:11:07 +00:00
parent e6355529b6
commit 79fa107006

View File

@ -54,9 +54,7 @@ A Reified is
(define (check-params who e-arity r-arity obj)
(let ([e-pos (arity-minpos e-arity)]
[e-kws (arity-minkws e-arity)])
(check-arity/neg r-arity e-pos e-kws
(lambda (msg)
(raise-mismatch-error who (string-append msg ": ") obj)))))
(check-arity r-arity e-pos e-kws (lambda (msg) (error who "~a" msg)))))
(define (adapt-parser who esig0 rsig0 parser splicing?)
(if (equal? esig0 rsig0)