aboutsummaryrefslogtreecommitdiff
path: root/latex-test/ref/UnboxedStuff/UnboxedStuff.tex
blob: 990d2a5be93cd9f29d3ca9e6b997ff7f0c76921d (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[\begin{tabular}{@{}l}
unboxedUnit :: ({\char '43} {\char '43}) -> ({\char '43} {\char '43})
\end{tabular}]
\item[\begin{tabular}{@{}l}
unboxedTuple :: ({\char '43} X, Y {\char '43}) -> ({\char '43} X, Y, Z {\char '43})
\end{tabular}]
\item[\begin{tabular}{@{}l}
unboxedSum :: ({\char '43} X | Y {\char '43}) -> ({\char '43} X | Y | Z {\char '43})
\end{tabular}]
\end{haddockdesc}