mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 11:09:54 +00:00
Add more help text to doc macro and default repl.
This commit is contained in:
parent
8091b1289f
commit
603791c0ba
@ -1702,7 +1702,7 @@
|
|||||||
(print (doc-format (string "Bindings:\n\n" (string/join bindings " "))))
|
(print (doc-format (string "Bindings:\n\n" (string/join bindings " "))))
|
||||||
(print)
|
(print)
|
||||||
(print (doc-format (string "Dynamics:\n\n" (string/join dynamics " "))))
|
(print (doc-format (string "Dynamics:\n\n" (string/join dynamics " "))))
|
||||||
(print))
|
(print "\n Use (doc sym) for more information on a binding.\n"))
|
||||||
|
|
||||||
(defn doc*
|
(defn doc*
|
||||||
"Get the documentation for a symbol in a given environment. Function form of doc."
|
"Get the documentation for a symbol in a given environment. Function form of doc."
|
||||||
|
Loading…
Reference in New Issue
Block a user