aboutsummaryrefslogtreecommitdiff
path: root/latex-test/ref/Example/Example.tex
blob: 11f7e734955cd637b8f5b2758cffaa8e04b6f016 (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
\haddockmoduleheading{Example}
\label{module:Example}
\haddockbeginheader
{\haddockverb\begin{verbatim}
module Example (
    split
  ) where\end{verbatim}}
\haddockendheader

\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
split :: Int -> ()
\end{tabular}]
{\haddockbegindoc
Example use.\par
\begin{quote}
{\haddockverb\begin{verbatim}
>>> split 1
()

\end{verbatim}}
\end{quote}
\begin{quote}
{\haddockverb\begin{verbatim}
>>> split 2
()

\end{verbatim}}
\end{quote}}
\end{haddockdesc}