blob: 11f7e734955cd637b8f5b2758cffaa8e04b6f016 (
plain) (
tree)
|
|
\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}
|