str から URL "curl://string/" を作成します。
説明
例
| 例 | |
{value
|| Create a string to be read as a stream.
let contents:String = "First line.\nSecond line.\n"
|| Construct a "curl://string/" Url.
let myurl:Url = {string-url contents}
|| Now, read from it as if it were a normal file.
let result:StringBuf = {read-from myurl}
{value result}
}
|