diff --git a/content/docs/index.mdz b/content/docs/index.mdz index c15d6fd..efb89b7 100644 --- a/content/docs/index.mdz +++ b/content/docs/index.mdz @@ -224,9 +224,11 @@ If at any time you want to see short documentation on a binding, use the @codeblock[janet](```(doc defn) # -> Prints the documentation for "defn"```) -To see a list of all global functions in the REPL, type the command +To see a list of all global bindings in the REPL, use the @code[doc] macro +without arguments to print them out. -@codeblock[janet](```(all-bindings)```) +@codeblock[janet](```(doc)```) -Which will print out every global binding in the Janet REPL. You can also browse -the @link[/doc.html][core library API] on the website. +Note: see the @code[all-bindings] function for related functionality. + +You can also browse the @link[/doc.html][core library API] on the website.