diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-04-19 21:42:56 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-04-19 21:43:01 -0400 |
| commit | 3c341599713fd8e15d496126434ec2756b76ef87 (patch) | |
| tree | 0f448e83e35ad308e96907524e106af860a2a668 /docs/tutorial/variable.html | |
| parent | dc9cdd8a54e0057524c5ac69a21c52969a8e8cda (diff) | |
Update tutorial text written before error messages in markdown
Diffstat (limited to 'docs/tutorial/variable.html')
| -rw-r--r-- | docs/tutorial/variable.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/tutorial/variable.html b/docs/tutorial/variable.html index 16186db4..61c425b8 100644 --- a/docs/tutorial/variable.html +++ b/docs/tutorial/variable.html @@ -44,8 +44,7 @@ <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=QlFOIOKGkCAiW21hbnkgcGFnZXMgb2Ygc3BlY2lmaWNhdGlvbl0i">↗️</a><pre> <span class='Function'>BQN</span> <span class='Gets'>←</span> <span class='String'>"[many pages of specification]"</span> <span class='Error'>Error: Role of the two sides in assignment must match</span> </pre> -<p>What's going on? Does BQN not know about capital letters? Does it object to self-reference? Why is "<code><span class='Function'>BQN</span></code>" green?</p> -<p>If you open that statement in the online REPL, you'll see the more informative message "Role of the two sides in assignment must match" (<em>assignment</em> means anything written with a leftward arrow—either definition or modification). This is still cryptic but at least a "role" is something we've heard about before.</p> +<p>Does BQN not know about capital letters? Does it object to self-reference? Why is "<code><span class='Function'>BQN</span></code>" green? At least there's an error message, and a "role" is something we've heard about before. <em>Assignment</em> means anything written with a leftward arrow—either definition or modification.</p> <p>I'll first confuse you a little more by pointing out that BQN's variables are case-insensitive, and even underscore-insensitive!</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=dGhyZWUKdGhyRWUKVGhSZUUKdGhyX0VFCl9fdGhyZWUKX1RfSF9SX0VfRV8=">↗️</a><pre> <span class='Value'>three</span> 3 |
