parent
7122d93de8
commit
032a11fdae
|
@ -144,7 +144,7 @@
|
|||
(->opt [-Input-Port -Symbol] (-seq -Bytes))]
|
||||
;; in-directory
|
||||
[(make-template-identifier '*in-directory 'racket/private/for)
|
||||
(->opt [(Un (-val #f) -Pathlike)] (-seq -Path))]
|
||||
(->opt [(Un (-val #f) -Pathlike) (-> -Path Univ)] (-seq -Path))]
|
||||
;; in-producer
|
||||
[(make-template-identifier 'in-producer 'racket/private/for)
|
||||
(-polydots (a b)
|
||||
|
|
|
@ -128,6 +128,7 @@
|
|||
|
||||
;; more sequences
|
||||
[tc-e (sequence-ref (in-directory) 0) -Path]
|
||||
[tc-e (sequence-ref (in-directory "foo" (λ (p) #t)) 0) -Path]
|
||||
[tc-e (in-mlist (ann (mcons 'a null) (MListof 'a))) (-seq (-val 'a))]
|
||||
[tc-e (in-producer (λ () 'hi)) (-seq (-val 'hi))]
|
||||
[tc-e (in-producer (λ: ([x : String]) 'hi) symbol? "foo")
|
||||
|
|
Loading…
Reference in New Issue
Block a user