Skip to content

Commit 173a791

Browse files
committed
Add lookupAll to libraries_ref_guide
1 parent 8bc7cab commit 173a791

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/libraries_ref_guide/LibDoc/List.tex

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,21 @@ \subsubsection{Extracting Elements and Sub-Lists}
385385
\hline
386386
\end{tabular}
387387

388+
\index[function]{List!lookupAll}
389+
\index{lookupAll@\te{lookupAll} (\te{List} function)}
390+
\begin{tabular}{|p{.7 in}|p{4.9 in}|}
391+
\hline
392+
& \\ \te{lookupAll}&Returns all values matching a key in an association list.\\
393+
& \\ \cline{2-2}
394+
&\begin{libverbatim}
395+
function List#(b_type)
396+
lookupAll (a_type key, List#(Tuple2#(a_type, b_type)) alist)
397+
provisos(Eq#(a_type));
398+
\end{libverbatim}
399+
\\
400+
\hline
401+
\end{tabular}
402+
388403
\index[function]{List!takeWhile}
389404
\index{takeWhile@\te{takeWhile} (\te{List} function)}
390405
\begin{tabular}{|p{.7 in}|p{4.9 in}|}

0 commit comments

Comments
 (0)