I'm not sure what to do about this, given the recursive sb call.
original commit: 51ec643172e3893701b2a68ca7a5430ddac7ee8c
This commit is contained in:
parent
395e0fc733
commit
156c0d0d38
|
@ -52,9 +52,11 @@
|
|||
(define (sb t) (substitute-dots images name t))
|
||||
(if (hash-ref (free-vars* target) name #f)
|
||||
(type-case sb target
|
||||
[#:F name* (if (eq? name* name)
|
||||
;; The way I handled this in my type system is via type validity checking. Hrmm.
|
||||
#;[#:F name* (if (eq? name* name)
|
||||
(int-err "substitute-dots: got single variable ~a" name*)
|
||||
target)]
|
||||
[#:F name* target]
|
||||
[#:arr dom rng rest drest thn-eff els-eff
|
||||
(if (and (pair? drest)
|
||||
(eq? name (cdr drest)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user