-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhaskell-tutorial.verb
More file actions
89 lines (73 loc) · 2.11 KB
/
haskell-tutorial.verb
File metadata and controls
89 lines (73 loc) · 2.11 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
\documentclass[twoside,11pt]{article}
\textheight=8.5in
\textwidth=6.5in
\topmargin=-.3in
\oddsidemargin=0in
\evensidemargin=0in
\parskip=6pt plus2pt minus2pt
\pagestyle{headings}
\input{report-refs}
\usepackage{epsf}
% \renewcommand{\thepage}{T-\arabic{page}}
\newcommand{\folks}[1]{\begin{quote}\sf#1\end{quote}}
\newcommand{\bc}{\begin{center}}
\newcommand{\ec}{\end{center}}
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}
\newcommand{\ba}{\begin{array}}
\newcommand{\ea}{\end{array}}
\newcommand{\x}{\times}
\newcommand{\lam}{\lambda}
\newcommand{\la}{\leftarrow}
\newcommand{\ra}{\rightarrow}
\newcommand{\red}{\Rightarrow}
\newcommand{\see}[1]{\S\ref{#1}}
\newcommand{\syn}[1]{[#1]}
\newcommand{\bprog}{%
\par\noindent\begin{tabular}{@@{\hspace*{17pt}}l@@{}}}
\newcommand{\eprog}{%
\end{tabular}\\[\parskip]}
\newcommand{\eprogNoSkip}{%
\end{tabular}}
\newcommand{\anchor}[2]{#2}
\begin{document}
\title{A Gentle Introduction to Haskell 98}
\author{Paul Hudak\\
Yale University\\
Department of Computer Science
\and
John Peterson\\
Yale University\\
Department of Computer Science
\and
Joseph H. Fasel\\
University of California\\
Los Alamos National Laboratory}
\date{October, 1999}
\maketitle
Copyright \copyright\ 1999 Paul Hudak, John Peterson and Joseph Fasel
Permission is hereby granted, free of charge, to any person obtaining
a copy of ``A Gentle Introduction to Haskell'' (the Text), to deal
in the Text without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Text, and to permit persons to whom the
Text is furnished to do so, subject to the following condition:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Text.
\input{intro}
\input{goodies}
\input{functions}
\input{patterns}
\input{classes}
\input{moretypes}
\input{io}
\input{stdclasses}
\input{monads}
\input{numbers}
\input{modules}
\input{pitfalls}
\input{arrays}
\input{end}
\bibliographystyle{plain}
\bibliography{tut}
\end{document}