diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-08-21 22:24:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 22:24:03 -0700 |
commit | 6a9ada2426579b72696514b3fd081aacac9c5740 (patch) | |
tree | c3cbf5c8d7ec9c36fa9e91ccb7b3c5c2bbb7fe87 /latex-test/ref/UnboxedStuff/UnboxedStuff.tex | |
parent | 9ef12f3c2f0ef2948e6f4bd38fdfa002c416ab09 (diff) | |
parent | d23dbf3d54bf1c29a9720872f312a370f830b5ae (diff) |
Merge pull request #914 from harpocrates/feature/unboxed-stuff
Better rendering of unboxed sums, unboxed tuples, promoted tuples.
Diffstat (limited to 'latex-test/ref/UnboxedStuff/UnboxedStuff.tex')
-rw-r--r-- | latex-test/ref/UnboxedStuff/UnboxedStuff.tex | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/latex-test/ref/UnboxedStuff/UnboxedStuff.tex b/latex-test/ref/UnboxedStuff/UnboxedStuff.tex new file mode 100644 index 00000000..36d5c12b --- /dev/null +++ b/latex-test/ref/UnboxedStuff/UnboxedStuff.tex @@ -0,0 +1,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[ +unboxedUnit\ ::\ ({\char '43}\ {\char '43})\ ->\ ({\char '43}\ {\char '43}) +] +\item[ +unboxedTuple\ ::\ ({\char '43}\ X,\ Y\ {\char '43})\ ->\ ({\char '43}\ X,\ Y,\ Z\ {\char '43}) +] +\item[ +unboxedSum\ ::\ ({\char '43}\ X\ |\ Y\ {\char '43})\ ->\ ({\char '43}\ X\ |\ Y\ |\ Z\ {\char '43}) +] +\end{haddockdesc}
\ No newline at end of file |