1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-07 11:03:04 +00:00

Merge pull request #525 from uvtc/patch-1

light markup in some docs in corelib
This commit is contained in:
Calvin Rose
2020-12-07 15:57:09 -06:00
committed by GitHub

View File

@@ -552,31 +552,31 @@ static const JanetReg corelib_cfuns[] = {
}, },
{ {
"string", janet_core_string, "string", janet_core_string,
JDOC("(string & parts)\n\n" JDOC("(string & xs)\n\n"
"Creates a string by concatenating values together. Values are " "Creates a string by concatenating the elements of `xs` together. If an "
"converted to bytes via describe if they are not byte sequences. " "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 & xs)\n\n" JDOC("(symbol & xs)\n\n"
"Creates a symbol by concatenating values together. Values are " "Creates a symbol by concatenating the elements of `xs` together. If an "
"converted to bytes via describe if they are not byte sequences. Returns " "element is not a byte sequence, it is converted to bytes via `describe`. "
"the new symbol.") "Returns the new symbol.")
}, },
{ {
"keyword", janet_core_keyword, "keyword", janet_core_keyword,
JDOC("(keyword & xs)\n\n" JDOC("(keyword & xs)\n\n"
"Creates a keyword by concatenating values together. Values are " "Creates a keyword by concatenating the elements of `xs` together. If an "
"converted to bytes via describe if they are not byte sequences. Returns " "element is not a byte sequence, it is converted to bytes via `describe`. "
"the new keyword.") "Returns the new keyword.")
}, },
{ {
"buffer", janet_core_buffer, "buffer", janet_core_buffer,
JDOC("(buffer & xs)\n\n" JDOC("(buffer & xs)\n\n"
"Creates a new buffer by concatenating values together. Values are " "Creates a buffer by concatenating the elements of `xs` together. If an "
"converted to bytes via describe if they are not byte sequences. Returns " "element is not a byte sequence, it is converted to bytes via `describe`. "
"the new buffer.") "Returns the new buffer.")
}, },
{ {
"abstract?", janet_core_is_abstract, "abstract?", janet_core_is_abstract,