I'm not sure what to do about this, given the recursive sb call.
This commit is contained in:
parent
052849c1bb
commit
51ec643172
|
@ -52,9 +52,11 @@
|
||||||
(define (sb t) (substitute-dots images name t))
|
(define (sb t) (substitute-dots images name t))
|
||||||
(if (hash-ref (free-vars* target) name #f)
|
(if (hash-ref (free-vars* target) name #f)
|
||||||
(type-case sb target
|
(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*)
|
(int-err "substitute-dots: got single variable ~a" name*)
|
||||||
target)]
|
target)]
|
||||||
|
[#:F name* target]
|
||||||
[#:arr dom rng rest drest thn-eff els-eff
|
[#:arr dom rng rest drest thn-eff els-eff
|
||||||
(if (and (pair? drest)
|
(if (and (pair? drest)
|
||||||
(eq? name (cdr drest)))
|
(eq? name (cdr drest)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user