blob: 162f5014d1efb0d93a33e7e7d173232fad5dc06d (
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
37
38
39
40
41
|
\haddockmoduleheading{DefaultSignatures}
\label{module:DefaultSignatures}
\haddockbeginheader
{\haddockverb\begin{verbatim}
module DefaultSignatures (
Foo(baz', baz, bar)
) where\end{verbatim}}
\haddockendheader
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
class Foo a where
\end{tabular}]
{\haddockbegindoc
Documentation for Foo.\par
\haddockpremethods{}\emph{Methods}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
bar, baz :: a -> String
\end{tabular}]
{\haddockbegindoc
Documentation for bar and baz.\par}
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
default bar :: Show a => a -> String
\end{tabular}]
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
baz' :: String -> a
\end{tabular}]
{\haddockbegindoc
Documentation for baz'.\par}
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
default baz' :: Read a => String -> a
\end{tabular}]
\end{haddockdesc}}
\end{haddockdesc}
|