Jeremy Siek 3 年之前
父節點
當前提交
79386bc632
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      book.tex

+ 2 - 2
book.tex

@@ -19606,7 +19606,7 @@ print( v[1] )
 \fi}
 \fi}
   \end{tcolorbox}
   \end{tcolorbox}
 
 
-  \caption{An example involving casts on vectors.}
+  \caption{An example involving casts on arrays.}
 \label{fig:map-bang}
 \label{fig:map-bang}
 \end{figure}
 \end{figure}
 
 
@@ -19669,7 +19669,7 @@ def map_inplace(f : Callable[[Any], Any], v) -> None:
 def inc(x):
 def inc(x):
     return x + 1
     return x + 1
 
 
-v v = [0, 41]
+v = [0, 41]
 map_inplace(inc, v)
 map_inplace(inc, v)
 print( v[1] )
 print( v[1] )
 \end{lstlisting}
 \end{lstlisting}