[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / deSugar / root.lit
1 \begin{onlystandalone}
2 \documentstyle[11pt,literate,a4wide]{article}
3 \begin{document}
4 \title{Desugaring \Haskell{}}
5 \author{The AQUA team}
6 \date{February 1994}
7 \maketitle
8 \tableofcontents
9 \end{onlystandalone}
10
11 \begin{onlypartofdoc}
12 \section[De_sugar_er]{Desugaring}
13 \downsection
14 \end{onlypartofdoc}
15
16 \input{intro.lit}
17
18 \input{Desugar.lhs}
19
20 \section[Desugar_match]{@match@: compiling out pattern-matching}
21 \downsection
22 \input{Match.lhs}
23 \input{MatchCon.lhs}
24 \input{MatchLit.lhs}
25 \input{MatchProc.lhs}
26 \upsection
27
28 \section[Desugar_absSyntax]{Mangling the abstract syntax}
29
30 Roughly speaking, a function with a name of the form
31 \tr{ds<Something>} is the de-sugar-er for the nonterminal
32 \pl{<Something>} in module @AbsSyntaxTypes@.
33 \downsection
34 \input{DsBinds.lhs}
35 \input{DsExpr.lhs}
36 \input{DsGRHSs.lhs}
37 \input{DsListComp.lhs}
38 \input{DsParZF.lhs}
39 \upsection
40
41 \section[Desugar_utilities]{Utilities and constants for desugaring}
42 \downsection
43 \input{DsMonad.lhs}
44 \input{DsUtils.lhs}
45 \upsection
46
47 \begin{onlypartofdoc}
48 \upsection
49 \end{onlypartofdoc}
50 \begin{onlystandalone}
51 \printindex
52 \end{document}
53 \end{onlystandalone}