Explorar el Código

more L^mon cleanups

Jeremy Siek hace 3 años
padre
commit
63bec4adca
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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}
 }