aboutsummaryrefslogtreecommitdiff
path: root/src/input/stream.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/stream.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/stream.input.pamphlet')
-rw-r--r--src/input/stream.input.pamphlet34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/input/stream.input.pamphlet b/src/input/stream.input.pamphlet
new file mode 100644
index 00000000..46f8edd5
--- /dev/null
+++ b/src/input/stream.input.pamphlet
@@ -0,0 +1,34 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input STREAM.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+<<*>>=
+
+-- Input generated from StreamXmpPage
+)clear all
+
+ints := [i for i in 0..]
+f : List INT -> List INT
+f x == [x.1 + x.2, x.1]
+fibs := [i.2 for i in [generate(f,[1,1])]]
+[i for i in ints | odd? i]
+odds := [2*i+1 for i in ints]
+scan(0,+,odds)
+[i*j for i in ints for j in odds]
+map(*,ints,odds)
+first ints
+rest ints
+fibs 20
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}