mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
parent
6f645c4cb7
commit
dbd1316d1e
@ -339,7 +339,10 @@ JANET_CORE_FN(janet_core_native,
|
||||
|
||||
JANET_CORE_FN(janet_core_describe,
|
||||
"(describe x)",
|
||||
"Returns a string that is a human-readable description of a value x.") {
|
||||
"Returns a string that is a human-readable description of `x`. "
|
||||
"For recursive data structures, the string returned contains a "
|
||||
"more or less unique pointer value from which the identity of `x` "
|
||||
"could be determined.") {
|
||||
JanetBuffer *b = janet_buffer(0);
|
||||
for (int32_t i = 0; i < argc; ++i)
|
||||
janet_description_b(b, argv[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user