aboutsummaryrefslogtreecommitdiff
path: root/doc/context.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-06-26 10:17:17 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-06-26 10:17:17 -0400
commitf34e14170e1fb9b962d88316b7089192e07b2025 (patch)
tree5255a0cebb44830f4ca083e7fbdf6c4351f63e52 /doc/context.md
parentf0ce6d9304f3d010c11aa482093c407d86ca0f05 (diff)
Add Valences and Choose operators everywhere
Diffstat (limited to 'doc/context.md')
-rw-r--r--doc/context.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/context.md b/doc/context.md
index 0aab2b93..f37e36b3 100644
--- a/doc/context.md
+++ b/doc/context.md
@@ -36,7 +36,7 @@ BQN's expression grammar is a simplified version of the typical APL, removing so
| Modifier | Monadic operator | Adverb
| Composition | Dyadic operator | Conjunction
-BQN primitives have only one spelling, and a fixed role (but their values can be used in a different role by storing them in variables). Superscript glyphs `` ˜¨˘⁼⌜´` `` are used for modifiers, and glyphs `∘○⊸⟜⌾⚇⎉⍟◶⊘` with an unbroken circle are compositions. Other primitives are functions. String and numeric literals are values.
+BQN primitives have only one spelling, and a fixed role (but their values can be used in a different role by storing them in variables). Superscript glyphs `` ˜¨˘⁼⌜´` `` are used for modifiers, and glyphs `∘○⊸⟜⌾⊘◶⚇⎉⍟` with an unbroken circle are compositions. Other primitives are functions. String and numeric literals are values.
BQN's variables use another system. Unlike primitives, variables can be spelled as any of the four syntactic types. Its value remains the same, as the spelling only indicates how this value is used. A variable spelled with a lowercase first letter, like `var`, is a value. Spelled with an uppercase first letter, like `Var`, it is a function. Underscores are placed where operands apply to indicate a modifier `_var` or composition `_var_`. Other than the first letter or underscore, variables are case-insensitive.