On Thu, 17 Mar 2016 13:08:44 -0500,
Arnel wrote:
>
> Hi,
>
> How does 'string-join' differ from 'string-append'? More specifically, why
> does
> the following code:
>
> (let ([z ""]
> [y "b"])
> (string-join '(z y) "\n"))
>
> result in a contract violation, yet the following:
Hi,
How does 'string-join' differ from 'string-append'? More specifically, why does
the following code:
(let ([z ""]
[y "b"])
(string-join '(z y) "\n"))
result in a contract violation, yet the following:
(let ([z ""]
[y "b"])
(string-append z y))
works without
2 matches
Mail list logo