瀏覽代碼

fixed vector grammar to use arg

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

+ 1 - 1
book.tex

@@ -4058,7 +4058,7 @@ forms for vectors. Here is the definition of $C_2$, for the output of
 \code{flatten}.
 \[
 \begin{array}{lcl}
-\Exp &::=& \ldots \mid (\key{vector}\, \Exp^{+}) \\
+\Exp &::=& \ldots \mid (\key{vector}\, \Arg^{+}) \\
    &\mid & (\key{vector-ref}\, \Arg\, \Int) \\
    &\mid & (\key{vector-set!}\,\Arg\,\Int\,\Arg)
 \end{array}