updated
authorChristian Urban <christian.urban@kcl.ac.uk>
Wed, 19 Nov 2025 14:51:06 +0000
changeset 1029 fdf87cccbf17
parent 1028 803d5ece1c07
child 1030 5cadcc5aee02
updated
handouts/amm-faq.pdf
handouts/amm-faq.tex
Binary file handouts/amm-faq.pdf has changed
--- 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: