Micro-optimization.
This commit is contained in:
parent
37a81bcfce
commit
c25f7cea27
|
@ -59,7 +59,7 @@
|
||||||
(and argtys (list (tc-result1: argtys-t) ...)))
|
(and argtys (list (tc-result1: argtys-t) ...)))
|
||||||
(or
|
(or
|
||||||
;; find the first function where the argument types match
|
;; find the first function where the argument types match
|
||||||
(for/first ([dom doms] [rng rngs] [rest rests] [a arrs]
|
(for/first ([dom (in-list doms)] [rng (in-list rngs)] [rest (in-list rests)] [a (in-list arrs)]
|
||||||
#:when (subtypes/varargs argtys-t dom rest))
|
#:when (subtypes/varargs argtys-t dom rest))
|
||||||
;; then typecheck here
|
;; then typecheck here
|
||||||
;; we call the separate function so that we get the appropriate
|
;; we call the separate function so that we get the appropriate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user