소스 검색

more L^mon cleanups

Jeremy Siek 3 년 전
부모
커밋
63bec4adca
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      book.tex

+ 3 - 3
book.tex

@@ -11729,10 +11729,10 @@ pass, which is \LangAlloc{} in monadic normal form.
 \newcommand{\LtupMonadASTPython}{
 \begin{array}{rcl}
 \Exp &::=& \GET{\Atm}{\Atm} \\
-     &\MID& \LEN{\Exp}\\
+     &\MID& \LEN{\Atm}\\
    &\MID& \ALLOCATE{\Int}{\Type}
-     \MID \GLOBALVALUE{\Var}\RP\\
-\Stmt{} &::=& \ASSIGN{\PUT{\Atm}{\Atm}}{\Exp} \\
+    \MID \GLOBALVALUE{\Var} \\
+\Stmt{} &::=& \ASSIGN{\PUT{\Atm}{\Atm}}{\Atm} \\
    &\MID& \COLLECT{\Int}
 \end{array}
 }