handouts/amm-faq.tex
changeset 1029 fdf87cccbf17
parent 1026 ee39fd6df150
--- a/handouts/amm-faq.tex	Tue Nov 18 12:11:53 2025 +0000
+++ b/handouts/amm-faq.tex	Wed Nov 19 14:51:06 2025 +0000
@@ -151,6 +151,17 @@
 supported for vararg splices''. This warning can be avoided by writing
 \texttt{args*} instead of \texttt{args:\_*}.
 
+\subsection*{Compile\_Block not Found in Compile.sc}
+
+When you evaluate in Ammonite parsers or the eval- and compile-functions,
+you encounter the following problem: For example in the file 
+\texttt{compile.sc} the function \texttt{compile\_stmt} function depends
+on \texttt{compile\_block} function and vice versa. This means you need
+to evaluate them together when you run the code inside the REPL (this
+problem does not occur when you run the complete file on the command
+line). You can evaluate functions in a big ``chunk'' by enclosing it
+inside \texttt{\{...\}}.
+
 \end{document}
 
 %%% Local Variables: