Sfoglia il codice sorgente

Merge pull request #115 from arsdragonfly/fix

interp_exp needs an empty env
Jeremy G. Siek 3 anni fa
parent
commit
99eef8c944
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      book.tex

+ 1 - 1
book.tex

@@ -2055,7 +2055,7 @@ call it \code{e0}, by creating an object of the \LangVar{} class
 and calling the \code{interp\_exp} method.
 {\if\edition\racketEd
 \begin{lstlisting}
-(send (new interp_Lvar_class) interp_exp e0)
+((send (new interp_Lvar_class) interp_exp '()) e0)
 \end{lstlisting}
 \fi}
 {\if\edition\pythonEd