diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-08 16:14:51 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-08 16:18:16 -0500 |
| commit | c5eef0418df2ae6a97c54839fa010ff60d96f78b (patch) | |
| tree | 7ad892f4d416cfcf380e3a26164df4d240a82037 /docs/doc/rebqn.html | |
| parent | ded5581732544165dbb14fb2481ab3855104c638 (diff) | |
Add error messages to generated markdown docs with •CurrentError (fixes #22)
Diffstat (limited to 'docs/doc/rebqn.html')
| -rw-r--r-- | docs/doc/rebqn.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/rebqn.html b/docs/doc/rebqn.html index 9911d7c0..81a00418 100644 --- a/docs/doc/rebqn.html +++ b/docs/doc/rebqn.html @@ -46,7 +46,7 @@ <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ZG9Ob3Qg4oaQIOKAolJlQlFOIHtyZXBs4oeQImxvb3NlIn0KCkRvTm90ICJiIiAjIHN1cnByaXNlZCB3aGVuIHRoaXMgZmFpbHM=">↗️</a><pre> <span class='Value'>doNot</span> <span class='Gets'>←</span> <span class='Function'>•ReBQN</span> <span class='Brace'>{</span><span class='Value'>repl</span><span class='Gets'>⇐</span><span class='String'>"loose"</span><span class='Brace'>}</span> <span class='Function'>DoNot</span> <span class='String'>"b"</span> <span class='Comment'># surprised when this fails -</span>ERROR +</span><span class='Error'>Error: Undefined identifier</span> </pre> <p>The difference in <code><span class='String'>"strict"</span></code> and <code><span class='String'>"loose"</span></code> is that a loose REPL can define a variable again, which just changes its value (under the covers, the <code><span class='Gets'>←</span></code> is treated as a <code><span class='Gets'>↩</span></code>).</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=RG8gImEg4oaQIMKvMSIKRG8gImEg4oaQIGLigL9hIgoKKOKAolJlQlFOIHtyZXBs4oeQInN0cmljdCJ9KeKOikDCqCAiYeKGkDEi4oC/ImHihpAyIiAgIyBTZWNvbmQgb25lIGVycm9ycw==">↗️</a><pre> <span class='Function'>Do</span> <span class='String'>"a ← ¯1"</span> |
