aboutsummaryrefslogtreecommitdiff
path: root/src/input/list.input.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/input/list.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/list.input.pamphlet')
-rw-r--r--src/input/list.input.pamphlet75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/input/list.input.pamphlet b/src/input/list.input.pamphlet
new file mode 100644
index 00000000..0487c9d3
--- /dev/null
+++ b/src/input/list.input.pamphlet
@@ -0,0 +1,75 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input LIST.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+<<*>>=
+
+-- Input generated from ListXmpPage
+)clear all
+
+
+-- Input generated from ugxListCreatePage
+)clear all
+
+[2, 4, 5, 6]
+[1]
+list(1)
+append([1,2,3],[5,6,7])
+cons(10,[9,8,7])
+
+-- Input generated from ugxListAccessPage
+)clear all
+
+empty? [x+1]
+([] = nil)@Boolean
+k := [4,3,7,3,8,5,9,2]
+first k
+k.first
+k.1
+k(1)
+n := #k
+last k
+k.last
+k.(#k)
+
+-- Input generated from ugxListChangePage
+)clear all
+
+k := [4,3,7,3,8,5,9,2]
+k.1 := 999
+k
+k := [1,2]
+m := cons(0,k)
+m.2 := 99
+m
+k
+
+-- Input generated from ugxListOtherPage
+)clear all
+
+k := [1,2,3]
+rest k
+removeDuplicates [4,3,4,3,5,3,4]
+reverse [1,2,3,4,5,6]
+member?(1/2,[3/4,5/6,1/2])
+member?(1/12,[3/4,5/6,1/2])
+
+-- Input generated from ugxListDotPage
+)clear all
+
+[1..3,10,20..23]
+expand [1..3,10,20..23]
+expand [1..]
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}