diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-24 10:30:08 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-24 10:32:30 -0500 |
| commit | f657dbb92d5c96e6846ab29fd5c14b590b4403a8 (patch) | |
| tree | 910b2553eddaff34c5951f8ba60950da14fa48ca /doc | |
| parent | 07362371b55c297b53591ad678fabee111941853 (diff) | |
Fix missing ; and wrong arithmetic in undo header example
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/undo.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/undo.md b/doc/undo.md index e8f1605e..bc536e27 100644 --- a/doc/undo.md +++ b/doc/undo.md @@ -49,8 +49,8 @@ Undo headers are currently supported only by dzaima/BQN. Of course BQN will never be able to invert all the functions you could write (if it could you could earn a *lot* of bitcoins, among other feats). But it does recognize some [header](block.md#block-headers) forms that you can use to specify the inverse of a block function. BQN will trust you and won't verify the results your specified inverse gives. { - ππ©: π©Γ·π©+1 - πβΌπ©: π©Γ·π©-1 + ππ©: π©Γ·1+π© ; + πβΌπ©: π©Γ·1-π© } The above function could also be defined with the automatically invertible `1βΈ+βΎΓ·`, but maybe there's a numerical reason to use the definition above. Like a normal header, an undo header reflects the normal use, but it includes `βΌ` and possibly `Λ` addition to the function and arguments. |
