Fix default prompt tag type
Note: this type could be made more precise, but we need some contract changes for that.
This commit is contained in:
parent
ffde8ec486
commit
213ff36554
|
@ -38,4 +38,10 @@
|
|||
;; set up the type environment
|
||||
(define-initial-env initialize-contracted
|
||||
[default-continuation-prompt-tag
|
||||
(-> (make-Prompt-Tagof ManyUniv (-> ManyUniv ManyUniv)))])
|
||||
;; TODO: we actually want the type
|
||||
;; for the handler (->* (list) Univ ManyUniv)
|
||||
;; but the prompt tag contract doesn't quite
|
||||
;; support this (it needs a #:rest argument)
|
||||
;;
|
||||
;; Also, this type works better with inference.
|
||||
(-> (make-Prompt-Tagof Univ (-> Univ ManyUniv)))])
|
||||
|
|
Loading…
Reference in New Issue
Block a user