Skip to content

Commit 3e9613b

Browse files
author
Aslan Askarov
committed
adding some information about the standard libraries
1 parent ed1a89d commit 3e9613b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

body.tex

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,35 @@ \subsubsection{\code{whereis}}
11831183
\end{minipage}
11841184
\end{description}
11851185

1186+
\section{Useful standard libraries}
1187+
1188+
Current installation of Troupe has a minimal set of standard libraries. We briefly describe the
1189+
most useful ones here.
1190+
1191+
\subsection{Library {\tt declassifyutil}}
1192+
1193+
This library contains some useful functions for \emph{deep declassification} of tuples and
1194+
declassifying both an expression and blocking level at the same time.
1195+
1196+
\begin{itemize}
1197+
\item {\code{declassify\_with\_block(v, auth, lev)}} takes three arguments -- the value to declassify,
1198+
the authority, and the target level -- just like in normal declassification -- and declassifies
1199+
both the blocking label and the value.
1200+
1201+
1202+
\item {\code{(declassifydeep(v, auth, lev)}} is like abov, but additionally
1203+
further declassifies nested lists and tuples up to size nine.
1204+
1205+
1206+
\end{itemize}
1207+
1208+
\subsection{Library {\tt lists}}
1209+
1210+
This library contains standard list functions, such as \code{map}, \code{mapi}, \code{foldi},
1211+
\code{range}, \code{range}, \code{reverse}, \code{lookup}, \code{elem}, \code{length}, \code{append},
1212+
and \code{partition}.
1213+
1214+
11861215
\clearpage
11871216
\section{Installation and configuration}
11881217
\label{appendix:installationandconfig}

0 commit comments

Comments
 (0)