diff options
Diffstat (limited to 'spec/primitive.md')
| -rw-r--r-- | spec/primitive.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/primitive.md b/spec/primitive.md index 8f40fa85..ef3055c4 100644 --- a/spec/primitive.md +++ b/spec/primitive.md @@ -89,7 +89,7 @@ There's little to say about BQN's true combinators, since each is simply a patte - **Choose** (`◶`) is later redefined to use the complete `⊑` rather than the simple version assumed (using this primitive means it's not a true combinator). - **Constant** (`˙`) -- **Valences** (`⊘`) uses a trick with ambivalent `-` to find out whether there's a left argument, described below. +- **Valences** (`⊘`) - **Right** (`⊢`) - **Left** (`⊣`) - **Self**/**Swap** (`˜`) @@ -98,8 +98,6 @@ There's little to say about BQN's true combinators, since each is simply a patte - **Before**/**Bind** (`⊸`) - **After**/**Bind** (`⟜`) -The somewhat complicated definition of Valences could be replaced with `{𝔽𝕩;𝕨𝔾𝕩}` using headers. However, reference.bqn uses a simple subset of BQN's syntax that doesn't include headers. Instead, the definition relies on the fact that `𝕨` works like `·` if no left argument is given: `(1˙𝕨)-0` is `1-0` or `1` if `𝕨` is present and `(1˙·)-0` otherwise: this reduces to `·-0` or `0`. - ### Array properties The reference implementations extend Shape (`≢`) to atoms as well as arrays, in addition to implementing other properties. In all cases, an atom behaves as if it has shape `⟨⟩`. The functions in this section never cause an error. |
