Skip to content

Commit 9e64d4a

Browse files
committed
Refactor go.to atom in paper.tex.
1 parent b15db6a commit 9e64d4a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

paper.tex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ \subsubsection{Backward Jump}
118118
QQ.io.stdout "Finished!"
119119
\end{ffcode}
120120

121-
Here, the one-argument abstract atom \ff{goto} is being copied with a one-argument abstract anonymous object, which is a sequence of objects incrementing \ff{i} and then comparing it with the number ten. If the condition is true, \ff{g.backward} is called, which leads to a backward jump and re-iteration of \ff{goto}.
121+
Here, the one-argument abstract atom \ff{go.to} is being copied with a one-argument abstract anonymous object, which is a sequence of objects incrementing \ff{i} and then comparing it with the number ten.
122+
If the condition is true, \ff{g.backward} is called, which leads to a backward jump and re-iteration of \ff{go.to}.
122123

123124
\subsubsection{Forward Jump}
124125

@@ -154,10 +155,10 @@ \subsubsection{Forward Jump}
154155
r
155156
\end{ffcode}
156157

157-
Here, the same abstract atom \ff{goto} is copied with an abstract one-argument object that is a sequence of objects.
158+
Here, the same abstract atom \ff{go.to} is copied with an abstract one-argument object that is a sequence of objects.
158159
When the condition is true, a forward jump is performed by \ff{g.forward} atom.
159160

160-
Similarly, the atom \ff{goto} may be used to simulate other conditional jump statements, like \ff{break}, \ff{continue}, or \ff{return} in the middle of a function body (see \cref{sec:procedures}).
161+
Similarly, the atom \ff{go.to} may be used to simulate other conditional jump statements, like \ff{break}, \ff{continue}, or \ff{return} in the middle of a function body (see \cref{sec:procedures}).
161162

162163
\subsubsection{Complex Case}
163164

@@ -232,7 +233,7 @@ \subsubsection{Multiple Returns}
232233
-1.times x
233234
\end{ffcode}
234235

235-
The dataization of \ff{g.forward} will exit the \ff{goto} object wrapping the entire code in the ``function'' \ff{abs}.
236+
The dataization of \ff{g.forward} will exit the \ff{go.to} object wrapping the entire code in the ``function'' \ff{abs}.
236237

237238
\subsection{Pointers}
238239
\label{sec:pointers}
@@ -387,7 +388,7 @@ \subsection{Procedures}
387388
b
388389
\end{ffcode}
389390

390-
This example also demonstrates how \ff{goto} object can be used to simulate the behavior of the \ff{return} statement from within the body of a method.
391+
This example also demonstrates how \ff{go.to} object can be used to simulate the behavior of the \ff{return} statement from within the body of a method.
391392

392393
\subsubsection{Impure Functions}
393394

0 commit comments

Comments
 (0)