Skip to content

Commit 0ab88ea

Browse files
authored
Update AlgImperSem009.md
Fix clumsy English.
1 parent 92f7de0 commit 0ab88ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: AlgImperSem009.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ This definition of _method_ hides the entire topic of object-oriented programmin
646646
## Shortcut: $\Lambda$($\lambda$, params, $\pi$)
647647

648648

649-
Note: The `code` attributes of procedures are an unordered dictionary of parameters and body. The $\Lambda$ shortcut puts them in an order. $\Lambda$ expressions would be more clear if the list of parameters preceded the body, but defaulting the list to `None` would not be easy and one would have to write empty brackets `[]` in every instance of $\Lambda$. Better this way.
649+
Note: The `code` attribute of a procedure is an unordered dictionary of parameters and body. The $\Lambda$ shortcut puts them in an order. $\Lambda$ expressions would be more clear if the list of parameters preceded the body, but defaulting the list to `None` would not be easy and one would have to write empty brackets `[]` in every instance of $\Lambda$. Better this way.
650650

651651

652652
The example procedure above has a name, "square", bound in the global environment. "Square" is not anonymous, but the [`Procedure`](#procedure) value bound to the name "square" is anonymous.

0 commit comments

Comments
 (0)