diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-07-12 07:34:58 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-07-12 07:34:58 -0400 |
| commit | 1d45d5be707cc22c1168c9b2b6631238bb1811d9 (patch) | |
| tree | a34700842479a5b659f89894920ad755f14683e5 /doc | |
| parent | 1760a683f918c2e61a123c70ab4a3fd0ad649db9 (diff) | |
Missed a 1-modifier
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/quick.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/quick.md b/doc/quick.md index 964eaceb..2b3baafc 100644 --- a/doc/quick.md +++ b/doc/quick.md @@ -63,7 +63,7 @@ The function `-´` is a *compound* function, because it consists of another func The function `Lower` is defined to be `-⟜diff`, but it uses a different arrow `⇐` to do this. This is an [export](namespace.md#exports), and it declares that `Lower` is a *field* of a namespace that can be accessed from the outside. Having a `⇐` in it is also what makes the block define a namespace. `Lower` itself won't be used for a while, but `Upper` is accessed a few lines down, with `case.Upper`. -`Lower` is created with a modifier again, this time the 2-modifier `⟜`. We've now seen one each of the three [*primitive*](primitive.md) types: function, 1-modifier, and 2-modifier. There are a lot of primitives, but some simple rules tell you which type they have. Primitives are functions by default, but superscript characters are 1-modifiers (`` ´˘¨˜` `` in our program), and ones with an unbroken circle are 2-modifiers (`⟜∘⌾`; `⍉` is a broken circle so it's a function). Variable names follow a [similar system](expression.md#role-spellings), where functions start with an uppercase letter and subjects with a lowercase one. +`Lower` is created with a modifier again, this time the 2-modifier `⟜`. We've now seen one each of the three [*primitive*](primitive.md) types: function, 1-modifier, and 2-modifier. There are a lot of primitives, but some simple rules tell you which type they have. Primitives are functions by default, but superscript characters are 1-modifiers (`` ´⁼˘¨˜` `` in our program), and ones with an unbroken circle are 2-modifiers (`⟜∘⌾`; `⍉` is a broken circle so it's a function). Variable names follow a [similar system](expression.md#role-spellings), where functions start with an uppercase letter and subjects with a lowercase one. [After](hook.md) (`⟜`) takes two operands, `-` and `diff`, to produce a function—specifically, it binds `diff` as the right argument of `-`, so that calling it on an argument subtracts `diff` from that argument. |
