From f34e14170e1fb9b962d88316b7089192e07b2025 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 26 Jun 2020 10:17:17 -0400 Subject: Add Valences and Choose operators everywhere --- doc/context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3