Fixed compatibility with Racket 6.7
This commit is contained in:
parent
b1062ecfb1
commit
07a8f4d9e4
|
@ -19,7 +19,11 @@
|
||||||
A
|
A
|
||||||
(Syntaxof Any)
|
(Syntaxof Any)
|
||||||
(Syntaxof Any)
|
(Syntaxof Any)
|
||||||
(Syntaxof A)))])
|
(Syntaxof A)))]
|
||||||
|
;; Backported from 6.8 so that it works on 6.7
|
||||||
|
[vector->list
|
||||||
|
(∀ (A) (case→ (→ (Vectorof A) (Listof A))
|
||||||
|
(→ VectorTop (Listof Any))))])
|
||||||
|
|
||||||
(define-syntax-rule (unsafe-cast v t)
|
(define-syntax-rule (unsafe-cast v t)
|
||||||
((inst unsafe-cast-function t) v))
|
((inst unsafe-cast-function t) v))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user