aboutsummaryrefslogtreecommitdiff
path: root/latex-test/ref/UnboxedStuff/UnboxedStuff.tex
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-08-21 22:24:03 -0700
committerGitHub <noreply@github.com>2018-08-21 22:24:03 -0700
commit6a9ada2426579b72696514b3fd081aacac9c5740 (patch)
treec3cbf5c8d7ec9c36fa9e91ccb7b3c5c2bbb7fe87 /latex-test/ref/UnboxedStuff/UnboxedStuff.tex
parent9ef12f3c2f0ef2948e6f4bd38fdfa002c416ab09 (diff)
parentd23dbf3d54bf1c29a9720872f312a370f830b5ae (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.tex36
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