summaryrefslogtreecommitdiff
path: root/docs/tools
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-10-21 19:41:29 +0800
committerGitHub <noreply@github.com>2020-10-21 13:41:29 +0200
commit322913ee5c73cd139a46dea593635c2d1a8d5f8c (patch)
tree46394777d001a650d3c56b172f992a9bc2657d72 /docs/tools
parentd6c824a6c38e4d443a7f050e2f3b7703f98b2cdc (diff)
docs(tools/repl): add special variables section (#8057)
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/repl.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/tools/repl.md b/docs/tools/repl.md
index 5b684b386..a0143b80c 100644
--- a/docs/tools/repl.md
+++ b/docs/tools/repl.md
@@ -43,3 +43,10 @@ up program state in the global context.
| Meta-T | Transpose words |
| Meta-U | Upper-case the next word |
| Meta-Y | See Ctrl-Y |
+
+## Special variables
+
+| Identifier | Description |
+| ---------- | ------------------------------------ |
+| _ | Yields the last evaluated expression |
+| _error | Yields the last thrown error |