From 322913ee5c73cd139a46dea593635c2d1a8d5f8c Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Wed, 21 Oct 2020 19:41:29 +0800 Subject: docs(tools/repl): add special variables section (#8057) --- docs/tools/repl.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/tools') 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 | -- cgit v1.2.3