Browse Source

interp_exp needs an empty env

Zheyu Shen 3 years ago
parent
commit
20c7b2bfe5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      book.tex

+ 1 - 1
book.tex

@@ -2038,7 +2038,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