aboutsummaryrefslogtreecommitdiff
path: root/src/input/alist.input.pamphlet
blob: c272c89c154e6e27d057c916902a51c1c9a4c855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input ALIST.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=

-- Input generated from AssociationListXmpPage
)clear all

Data := Record(monthsOld : Integer, gender : String)
al : AssociationList(String,Data)
al := table()
al."bob" := [407,"male"]$Data
al."judith" := [366,"female"]$Data
al."katie" := [24,"female"]$Data
al."smokie" := [200,"female"]$Data
al
al."katie" := [23,"female"]$Data
delete!(al,1)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}