1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00

Add more help text to doc macro and default repl.

This commit is contained in:
Calvin Rose 2020-09-19 16:40:07 -05:00
parent 8091b1289f
commit 603791c0ba

View File

@ -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."