Add type for this-language
to fix test
(also add a type for `all-languages`)
This commit is contained in:
parent
2ac73eee39
commit
099ca6cab9
|
@ -30,8 +30,13 @@
|
||||||
;; make-promise
|
;; make-promise
|
||||||
[(make-template-identifier 'delay 'racket/private/promise)
|
[(make-template-identifier 'delay 'racket/private/promise)
|
||||||
(-poly (a) (-> (-> a) (-Promise a)))]
|
(-poly (a) (-> (-> a) (-Promise a)))]
|
||||||
|
;; next three for string constants
|
||||||
[(make-template-identifier 'dynamic-string-constant 'string-constants/string-constant)
|
[(make-template-identifier 'dynamic-string-constant 'string-constants/string-constant)
|
||||||
(-> -Symbol -String)]
|
(-> -Symbol -String)]
|
||||||
|
[(make-template-identifier 'this-language 'string-constants/string-constant)
|
||||||
|
(-> -Symbol)]
|
||||||
|
[(make-template-identifier 'all-languages 'string-constants/string-constant)
|
||||||
|
(-> (-lst -Symbol))]
|
||||||
;; qq-append
|
;; qq-append
|
||||||
[(make-template-identifier 'qq-append 'racket/private/qq-and-or)
|
[(make-template-identifier 'qq-append 'racket/private/qq-and-or)
|
||||||
(-poly (a b)
|
(-poly (a b)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user