<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\haddockmoduleheading{ConstructorArgs}
\label{module:ConstructorArgs}
\haddockbeginheader
{\haddockverb\begin{verbatim}
module ConstructorArgs (
    Foo((:|), Rec, Baz, Boa, (:*), x, y),  Boo(Foo, Foa, Fo, Fo'),  pattern Bo, 
    pattern Bo'
  ) where\end{verbatim}}
\haddockendheader

\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
data\ Foo
\end{tabular}]\haddockbegindoc
\enspace \emph{Constructors}\par
\haddockbeginconstrs
\haddockdecltt{=} &amp; \haddockdecltt{Rec} &amp; doc on a record \\
                                          &amp; \haddocktt{\qquad \{} \haddockdecltt{x :: String} &amp; doc on the \haddockid{String} field of \haddockid{Rec} \\
                                          &amp; \haddocktt{\qquad ,} \haddockdecltt{y :: String} &amp; doc on the \haddockid{String} field of \haddockid{Rec} \\ &amp; \haddocktt{\qquad \}} \\
\haddockdecltt{|} &amp; \haddockdecltt{Baz Int String} &amp; old prefix doc style \\
\haddockdecltt{|} &amp; \haddockdecltt{Boa} &amp; doc on the \haddockid{Boa} constrictor \\
                                          &amp; \qquad \haddockdecltt{!Int} &amp; doc on the \haddockid{Int} field of \haddockid{Boa} \\
                                          &amp; \qquad \haddockdecltt{!String} &amp; doc on the \haddockid{String} field of \haddockid{Boa} \\
\haddockdecltt{|} &amp; \haddockdecltt{Int :| String} &amp; old infix doc style \\
\haddockdecltt{|} &amp; \haddockdecltt{(:*)} &amp; doc on the \haddockid{:*} constructor \\
                                           &amp; \qquad \haddockdecltt{Int} &amp; doc on the \haddockid{Int} field of the \haddockid{:*} constructor \\
                                           &amp; \qquad \haddockdecltt{String} &amp; doc on the \haddockid{String} field of the \haddockid{:*} constructor \\
\end{tabulary}\par
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
data\ Boo\ where
\end{tabular}]\haddockbegindoc
\enspace \emph{Constructors}\par
\haddockbeginconstrs
&amp; \haddockdecltt{Foo} &amp; Info about a \haddockid{Foo} \\
                        &amp; \qquad \haddockdecltt{::} \enspace \haddockdecltt{Int} &amp; \haddockid{Int} field of \haddockid{Foo} \\
                        &amp; \qquad \haddockdecltt{-&gt;} \enspace \haddockdecltt{String} &amp; \haddockid{String} field of \haddockid{Foo} \\
                        &amp; \qquad \haddockdecltt{-&gt;} \enspace \haddockdecltt{Boo} &amp; Make a \haddockid{Boo} \\
&amp; \haddockdecltt{Foa :: Int -&gt; Boo} &amp; no argument docs GADT \\
\end{tabulary}\par
\enspace \emph{Bundled Patterns}\par
\haddockbeginconstrs
&amp; \haddockdecltt{pattern Fo} &amp; Info about bundled \haddockid{Fo} \\
                               &amp; \qquad \haddockdecltt{::} \enspace \haddockdecltt{Int} &amp; an \haddockid{Int} \\
                               &amp; \qquad \haddockdecltt{-&gt;} \enspace \haddockdecltt{String} &amp; a \haddockid{String} \\
                               &amp; \qquad \haddockdecltt{-&gt;} \enspace \haddockdecltt{Boo} &amp; a \haddockid{Boo} \\
&amp; \haddockdecltt{pattern Fo' :: Boo} &amp; Bundled and no argument docs \\
\end{tabulary}\par
\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
pattern\ Bo
\end{tabular}]\haddockbegindoc
\haddockbeginargs
\haddockdecltt{::} &amp; \haddockdecltt{Int} &amp; an \haddockid{Int} \\
\haddockdecltt{-&gt;} &amp; \haddockdecltt{String} &amp; a \haddockid{String} \\
\haddockdecltt{-&gt;} &amp; \haddockdecltt{Boo} &amp; a \haddockid{Boo} pattern \\
\end{tabulary}\par
Info about not-bundled \haddockid{Bo}\par

\end{haddockdesc}
\begin{haddockdesc}
\item[\begin{tabular}{@{}l}
pattern\ Bo'\ ::\ Int\ -&gt;\ String\ -&gt;\ Boo
\end{tabular}]\haddockbegindoc
Not bunded and no argument docs\par

\end{haddockdesc}</pre></body></html>