diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-06-03 11:00:49 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-06-03 11:01:06 -0400 |
| commit | 4912f296ec86daab805011f38ce37863b88e6af5 (patch) | |
| tree | 8885834a420c762e31f74da53c95998009d67f46 /commentary | |
| parent | c706226ed4a98b773dd5e56c0eac36ef947f60fd (diff) | |
Finally nailed down my issue with 2-trains versus atop
Diffstat (limited to 'commentary')
| -rw-r--r-- | commentary/problems.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commentary/problems.md b/commentary/problems.md index 7e1f89d9..2753ce80 100644 --- a/commentary/problems.md +++ b/commentary/problems.md @@ -187,6 +187,9 @@ Select chooses whether the left argument maps to right argument axes or selects ### Unclear primitive names Blanket issue for names that I don't find informative: "Solo", "Bins", "Find", and "Group". +### Modifiers look looser than trains without spaces +Consider `⋆∘-ט`. It's just a sequence of three functions so the use of `∘` rather than `·` is to highlight structure: `⋆∘-` is more tightly bound so the suggestion is to consider this composition as a single entity. But in fact `-` is closer to `ט` than to `⋆`, intuitively suggesting the opposite. Adding a space fixes it: `⋆∘- ט` visually connects `⋆∘-`. It's unfortunate that this is something the writer must do rather than something the notation encourages. + ### Tacit exports can leak data One of the nice facets of BQN's module system is that it provides perfect encapsulation: if you have variables `a` and `b` in a namespace (or closure) initialized so that `a≤b`, and all exported operations maintain the property that `a≤b`, then that property will always be true. Well, not quite: if you define, say `Inc ⇐ IncA ⊣ IncB` to increase the values of both `a` and `b` by `𝕩`, then `Inc` maintains `a≤b`, but `IncA` doesn't—and it can be extracted with `•Decompose`. This isn't too serious because it sounds impossible to do accidentally, and it's easy to protect against. |
