mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40: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,
|
||||
JDOC("(string & pieces)\n\n"
|
||||
"Creates a string by concatenating the pieces together. If a piece "
|
||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
JDOC("(string & xs)\n\n"
|
||||
"Creates a string by concatenating the elements of `xs` together. If an "
|
||||
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
"Returns the new string.")
|
||||
},
|
||||
{
|
||||
"symbol", janet_core_symbol,
|
||||
JDOC("(symbol & pieces)\n\n"
|
||||
"Creates a symbol by concatenating the pieces together. If a piece "
|
||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
JDOC("(symbol & xs)\n\n"
|
||||
"Creates a symbol by concatenating the elements of `xs` together. If an "
|
||||
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
"Returns the new symbol.")
|
||||
},
|
||||
{
|
||||
"keyword", janet_core_keyword,
|
||||
JDOC("(keyword & pieces)\n\n"
|
||||
"Creates a keyword by concatenating the pieces together. If a piece "
|
||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
JDOC("(keyword & xs)\n\n"
|
||||
"Creates a keyword by concatenating the elements of `xs` together. If an "
|
||||
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
"Returns the new keyword.")
|
||||
},
|
||||
{
|
||||
"buffer", janet_core_buffer,
|
||||
JDOC("(buffer & pieces)\n\n"
|
||||
"Creates a buffer by concatenating the pieces together. If a piece "
|
||||
"is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
JDOC("(buffer & xs)\n\n"
|
||||
"Creates a buffer by concatenating the elements of `xs` together. If an "
|
||||
"element is not a byte sequence, it is converted to bytes via `describe`. "
|
||||
"Returns the new buffer.")
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user