From 1d45d5be707cc22c1168c9b2b6631238bb1811d9 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 12 Jul 2022 07:34:58 -0400 Subject: Missed a 1-modifier --- docs/doc/quick.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc/quick.html') diff --git a/docs/doc/quick.html b/docs/doc/quick.html index d9fb66e9..28ff1248 100644 --- a/docs/doc/quick.html +++ b/docs/doc/quick.html @@ -60,7 +60,7 @@ 'B'

The function Lower is defined to be -diff, but it uses a different arrow to do this. This is an export, 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 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, 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 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, where functions start with an uppercase letter and subjects with a lowercase one.

After () 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.

↗️
    -diff 'G'
 'g'
-- 
cgit v1.2.3