mirror of
https://github.com/janet-lang/janet
synced 2024-12-28 01:10:26 +00:00
Use xs
This commit is contained in:
parent
df1ca255a9
commit
52addc877d
@ -552,30 +552,30 @@ static const JanetReg corelib_cfuns[] = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"string", janet_core_string,
|
"string", janet_core_string,
|
||||||
JDOC("(string & pieces)\n\n"
|
JDOC("(string & xs)\n\n"
|
||||||
"Creates a string by concatenating the pieces together. If a piece "
|
"Creates a string by concatenating the elements of `xs` together. If an "
|
||||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||||
"Returns the new string.")
|
"Returns the new string.")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"symbol", janet_core_symbol,
|
"symbol", janet_core_symbol,
|
||||||
JDOC("(symbol & pieces)\n\n"
|
JDOC("(symbol & xs)\n\n"
|
||||||
"Creates a symbol by concatenating the pieces together. If a piece "
|
"Creates a symbol by concatenating the elements of `xs` together. If an "
|
||||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||||
"Returns the new symbol.")
|
"Returns the new symbol.")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"keyword", janet_core_keyword,
|
"keyword", janet_core_keyword,
|
||||||
JDOC("(keyword & pieces)\n\n"
|
JDOC("(keyword & xs)\n\n"
|
||||||
"Creates a keyword by concatenating the pieces together. If a piece "
|
"Creates a keyword by concatenating the elements of `xs` together. If an "
|
||||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||||
"Returns the new keyword.")
|
"Returns the new keyword.")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"buffer", janet_core_buffer,
|
"buffer", janet_core_buffer,
|
||||||
JDOC("(buffer & pieces)\n\n"
|
JDOC("(buffer & xs)\n\n"
|
||||||
"Creates a buffer by concatenating the pieces together. If a piece "
|
"Creates a buffer by concatenating the elements of `xs` together. If an "
|
||||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||||
"Returns the new buffer.")
|
"Returns the new buffer.")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user