check-arity/neg doesn't exist / doesn't work in Racket 6.11
This commit is contained in:
parent
e6355529b6
commit
79fa107006
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user