You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 10-closures/wikipage.txt
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
-
I wish we could say we're ready to modelcheck safety properties, but alas - one final missing piece remains.
1
+
======= Parameters as Closures =======
2
+
2
3
Remember way back at the start of the [[creating:operators|Functions, Operators, and Parameters]] chapter when operators were described as being like macros?
3
4
This was very literal - the expressions provided as parameters to an operator should be substituted into the operator body itself, //then// evaluated.
4
5
Instead, we evaluated the operator parameters first, //then// substituted the resulting values into the operator body.
5
-
This didn't matter before implementing the prime operator, but
6
+
This didn't matter before implementing the prime operator, but
7
+
8
+
TODO
9
+
10
+
[[creating:safety|< Previous Page]] | [[creating:start#table_of_contents|Table of Contents]]
0 commit comments