aboutsummaryrefslogtreecommitdiff
path: root/doc/block.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-06 21:55:23 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-06 22:00:24 -0500
commitabe8ae4745bb2ebe3b71b047aa92e2ae89a414d5 (patch)
treea9344b34a666ae7f83693762cb905db9f80e426e /doc/block.md
parent337044f77dc491459e798625972cd83bed1e72bc (diff)
Avoid joining units in some documentation
Diffstat (limited to 'doc/block.md')
-rw-r--r--doc/block.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/block.md b/doc/block.md
index e565ab17..690f8a27 100644
--- a/doc/block.md
+++ b/doc/block.md
@@ -39,7 +39,7 @@ Of these, `𝕣` is sort of a "more special" character, as we'll discuss below.
The names `𝕨` and `𝕩`, and their uppercase spellings, represent function arguments. As the argument to a function is typically data, it's more common to use the lowercase forms for these. Either of these names will turn an immediate block into a function (or an immediate modifier into a deferred one; see the next section). Instead of being evaluated as soon as it appears in the source, a function is evaluated when it's called, with the special names set to appropriate values. Unlike in Dyalog APL's dfns, their values can be changed like ordinary variables.
{'c'=𝕩} "abcd"
- { 𝕩+↩2 β‹„ 0βˆΎπ•© } 3
+ { 𝕩+↩2 β‹„ 0≍𝕩 } 3
4 { βŸ¨π•©β‹„-π•¨βŸ© } 5
A function with `𝕨` in its definition doesn't have to be called with two arguments. If it has only one, then `𝕨` is given the special value Nothing `Β·`. This is the only time a variable can ever be Nothing, as an assignment such as `v←·` is not allowed.