1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-16 18:29:56 +00:00

Use a slightly clearer example of the doc fun in README

This commit is contained in:
Zach Smith 2021-01-24 15:44:34 -05:00
parent 01a3d8f932
commit a5157e868b

View File

@ -58,9 +58,9 @@ Documentation is also available locally in the REPL.
Use the `(doc symbol-name)` macro to get API Use the `(doc symbol-name)` macro to get API
documentation for symbols in the core library. For example, documentation for symbols in the core library. For example,
``` ```
(doc doc) (doc apply)
``` ```
Shows documentation for the doc macro. Shows documentation for the `apply` function.
To get a list of all bindings in the default To get a list of all bindings in the default
environment, use the `(all-bindings)` function. You environment, use the `(all-bindings)` function. You