Skip to content

Commit 0318907

Browse files
committed
partially update thread type
Add the `#:result` keyword argument, but adding `#:pool` is left to-do.
1 parent cf5dcb9 commit 0318907

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

typed-racket-lib/info.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(define collection 'multi)
44

5-
(define deps '(("base" #:version "8.12.0.14")
5+
(define deps '(("base" #:version "8.18.0.4")
66
"source-syntax"
77
"pconvert-lib"
88
"compatibility-lib" ;; to assign types

typed-racket-lib/typed-racket/base-env/base-env.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@
16011601
;; Section 11.1 (Threads)
16021602

16031603
;; Section 11.1.1
1604-
[thread (-> (-> Univ) -Thread)]
1604+
[thread (->key (-> Univ) #:keep (Un #f (-val 'results)) #f -Thread)]
16051605
[thread? (unsafe-shallow:make-pred-ty -Thread)]
16061606
[current-thread (-> -Thread)]
16071607
[thread/suspend-to-kill (-> (-> Univ) -Thread)]
@@ -3698,7 +3698,7 @@
36983698
#:replace-permissions?
36993699
Univ
37003700
#f
3701-
a :T+ #f)))
3701+
a :T+ #f)))
37023702
(port->lines
37033703
(->optkey [-Input-Port]
37043704
#:line-mode (one-of/c 'linefeed 'return 'return-linefeed 'any 'any-one) #f

0 commit comments

Comments
 (0)