1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-28 16:13:16 +00:00

Update boot.janet

This commit is contained in:
John Gabriele 2021-07-25 17:26:31 -04:00 committed by GitHub
parent 4cae7e6d5d
commit e356b7141c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3048,10 +3048,10 @@
(print-index identity))) (print-index identity)))
(defmacro doc (defmacro doc
`Shows documentation for the given symbol, or can show a list of available bindings. ``Shows documentation for the given symbol, or can show a list of available bindings.
If sym is a symbol, will look for documentation for that symbol. If sym is a string If `sym` is a symbol, will look for documentation for that symbol. If `sym` is a string
or is not provided, will show all lexical and dynamic bindings in the current environment with or is not provided, will show all lexical and dynamic bindings in the current environment
that prefix (all bindings will be shown if no prefix is given).` containing that string (all bindings will be shown if no string is given).``
[&opt sym] [&opt sym]
~(,doc* ',sym)) ~(,doc* ',sym))