diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-01 08:01:17 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-01 08:01:17 -0400 |
| commit | 58c4c664ccb627102481c7bcb457e0f84a74d938 (patch) | |
| tree | 1fdd1920595071b17f91e7a51eaf77e35f01018d /doc | |
| parent | 85bd95ab4f2a40ccb1de042eaca64b9383a901ae (diff) | |
Fix editing error: recurse instead of using previous function
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/block.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/block.md b/doc/block.md index c75ea321..d4bdd71b 100644 --- a/doc/block.md +++ b/doc/block.md @@ -87,7 +87,7 @@ If a block is assigned a name after it is created, this name can be used for rec This is somewhat unsatisfying because it is external to the function being defined, even though it doesn't depend on outside information. Instead, the special name `π` can be used to refer to the function it appears in. This allows anonymous recursive functions to be defined. - { π© Γ (0βΈ<)βΆ1βΏFact π©-1 } 7 + { π© Γ (0βΈ<)βΆ1βΏπ π©-1 } 7 For modifiers, `π£` refers to the containing modifier. `π` makes the modifier a deferred modifier like `π¨` and `π©` do, and refers to the derived function. For example, this tail-recursive factorial function uses the operand to accumulate a result, a task that is usually done with a second `factorial_helper` function in elementary Scheme. |
