Update type of string-join for its new keyword arguments.
Closes PR12866.
This commit is contained in:
parent
c2924ef926
commit
b1ad108759
|
@ -337,6 +337,9 @@
|
||||||
(let: ([v : String "a"])
|
(let: ([v : String "a"])
|
||||||
(string-append "foo" (a v))))
|
(string-append "foo" (a v))))
|
||||||
-String]
|
-String]
|
||||||
|
[tc-e (string-join '("hello" "world") " ") -String]
|
||||||
|
[tc-e (string-join '("hello" "world")) -String]
|
||||||
|
[tc-e (string-join '("hello" "world") #:first "a") -String]
|
||||||
|
|
||||||
[tc-e (apply (plambda: (a) [x : a *] x) '(5)) (-lst -PosByte)]
|
[tc-e (apply (plambda: (a) [x : a *] x) '(5)) (-lst -PosByte)]
|
||||||
[tc-e (apply append (list '(1 2 3) '(4 5 6))) (-lst -PosByte)]
|
[tc-e (apply append (list '(1 2 3) '(4 5 6))) (-lst -PosByte)]
|
||||||
|
|
|
@ -363,7 +363,10 @@
|
||||||
(cl->* (-> (-lst -String) -String)
|
(cl->* (-> (-lst -String) -String)
|
||||||
(-> -String (-lst -String) -String))]
|
(-> -String (-lst -String) -String))]
|
||||||
|
|
||||||
[string-join (-> (-lst -String) -String -String)]
|
[string-join
|
||||||
|
(->optkey (-lst -String) [-String]
|
||||||
|
#:before-last -String #f #:first -String #f #:last -String #f
|
||||||
|
-String)]
|
||||||
|
|
||||||
|
|
||||||
;Section 3.6
|
;Section 3.6
|
||||||
|
|
Loading…
Reference in New Issue
Block a user