From 167a52dca31f2e9af35ba95544f484f69487790c Mon Sep 17 00:00:00 2001 From: Carsten Gips Date: Mon, 25 Dec 2023 13:44:16 +0100 Subject: [PATCH] fix typo in InterpLvar example --- book.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book.tex b/book.tex index 9ad0cae..60e9c3d 100644 --- a/book.tex +++ b/book.tex @@ -2163,7 +2163,7 @@ \subsection{Extensible Interpreters via Method Overriding} \end{minipage} \begin{minipage}{0.45\textwidth} \begin{lstlisting} -def InterpLvar(InterpLint): +class InterpLvar(InterpLint): def interp_exp(e): match e: case Name(id):