diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-03-24 22:41:38 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-03-24 22:41:38 -0400 |
| commit | 46e989035fa921a5a32169cc0a9b897ec313cc2e (patch) | |
| tree | d92737c676f75ef4e752cff095b36fe20a5dfe09 /spec/inferred.md | |
| parent | 51ddc6a0797452b0f4ae977133038ce2439fbead (diff) | |
Specify function Undo headers
Diffstat (limited to 'spec/inferred.md')
| -rw-r--r-- | spec/inferred.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/inferred.md b/spec/inferred.md index 18cd67dc..bfc9dbda 100644 --- a/spec/inferred.md +++ b/spec/inferred.md @@ -162,6 +162,10 @@ Inverses of other modifiers and derived functions or modifiers obtained from the |---------|--------- | `` ` `` | `{!0<=π© β π¨ (Β»π½βΌΒ¨β’){(ββΎβπ½1βΈβ)β(1<β )βπ½} π©}` +### Undo headers + +An `UndoHead` header specifies how a block function acts when undone. Like ordinary headers, undo headers are searched for a match when a block function `F` is undone, or when `FΛ` is undone with two arguments (including the two modifier cases `π½βk` and `π½πΎk` from the previous section). An `UndoHead` without `"Λ"` matches the `FβΌ` case while one with `"Λ"` matches the `FΛβΌ` case. The left and right arguments are matched to `headW` and `headX` as with ordinary headers, and the first matching case is evaluated to give the result of the Undo-derived function. + ## Under The Under 2-modifier `βΎ` conceptually applies its left operand under the action of its right operand. Setting `zβπ¨π½βΎπΎπ©`, it satisfies `(π¨π½βπΎπ©) β‘ πΎz`. We might say that `πΎ` transforms values to a new domain, and `βΎπΎ` lifts actions `π½` performed in this domain to the original domain of values. For example, addition in the logarithmic domain corresponds to multiplication in the linear domain: `+βΎ(ββΌ)` is `Γ` (but less precise if computed in floating point). |
