Document some new Lisp functions, add functions for env. inspection
diff --git a/doc/lisp_reference/lisp_reference.tex b/doc/lisp_reference/lisp_reference.tex
index 11b2207..0f204b9 100644
--- a/doc/lisp_reference/lisp_reference.tex
+++ b/doc/lisp_reference/lisp_reference.tex
@@ -389,6 +389,40 @@
not compiling a file. Return \ret{\nil}.
}
+\section{Inspecting \& Modifying the Environment}
+
+\subsection{Managing Memory}
+
+\definition{
+ (\func{gc})\index{gc}
+}{
+ Run the garbage collector.
+}
+
+\definition{
+ (\func{gc-stats})\index{gc-stats}
+}{
+ Return some
+ statistics about the garbage collector, in the form of a list:
+ \ret{(\param{total-allocs} \param{gc-runs})}, where
+ \param{total-allocs} is the current number of active allocations,
+ and \param{gc-runs} is the total number of times the garbage
+ collector has been run.
+}
+
+\subsection{Introspection}
+
+\definition{ \const{\pluses{current-env}} }{ An opaque object
+ representing the current environment. }
+
+\definition{
+ (\func{env-functions} \param{current-env})
+}{
+ Returns a
+ list of symbols, each of which is the name of a function defined in
+ the environment specified by \param{current-env}.
+}
+
\printindex
\printglossaries