aboutsummaryrefslogtreecommitdiff
path: root/latex-test/ref/UnboxedStuff/UnboxedStuff.tex
blob: 36d5c12b9138e0260987965efae06625524198d8 (plain) (blame)
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
\haddockmoduleheading{UnboxedStuff}
\label{module:UnboxedStuff}
\haddockbeginheader
{\haddockverb\begin{verbatim}
module UnboxedStuff (
    X,  Y,  Z,  unboxedUnit,  unboxedTuple,  unboxedSum
  ) where\end{verbatim}}
\haddockendheader

\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
data\ X
\end{tabular}]
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
data\ Y
\end{tabular}]
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
data\ Z
\end{tabular}]
\end{haddockdesc}
\section{Unboxed type constructors}
\begin{haddockdesc}
\item[
unboxedUnit\ ::\ ({\char '43}\ {\char '43})\ ->\ ({\char '43}\ {\char '43})
]
\item[
unboxedTuple\ ::\ ({\char '43}\ X,\ Y\ {\char '43})\ ->\ ({\char '43}\ X,\ Y,\ Z\ {\char '43})
]
\item[
unboxedSum\ ::\ ({\char '43}\ X\ |\ Y\ {\char '43})\ ->\ ({\char '43}\ X\ |\ Y\ |\ Z\ {\char '43})
]
\end{haddockdesc}