|
@@ -12570,7 +12570,8 @@ type.
|
|
|
\begin{figure}[tbp]
|
|
|
\centering
|
|
|
\fbox{
|
|
|
-\begin{minipage}{0.96\textwidth}
|
|
|
+ \begin{minipage}{0.96\textwidth}
|
|
|
+ \small
|
|
|
\[
|
|
|
\begin{array}{l}
|
|
|
\gray{\LintASTRacket{}} \\ \hline
|
|
@@ -12596,11 +12597,10 @@ the name of the structure in the function position:
|
|
|
\begin{lstlisting}
|
|
|
(point 7 12)
|
|
|
\end{lstlisting}
|
|
|
-Function-call syntax is also used to read the value in a field of a
|
|
|
-structure. The function name is formed by the structure name, a dash,
|
|
|
-and the field name. The following example uses \code{point-x} and
|
|
|
-\code{point-y} to access the \code{x} and \code{y} fields of two point
|
|
|
-instances.
|
|
|
+Function-call syntax is also used to read a field of a structure. The
|
|
|
+function name is formed by the structure name, a dash, and the field
|
|
|
+name. The following example uses \code{point-x} and \code{point-y} to
|
|
|
+access the \code{x} and \code{y} fields of two point instances.
|
|
|
\begin{center}
|
|
|
\begin{lstlisting}
|
|
|
(let ([pt1 (point 7 12)])
|