diff options
Diffstat (limited to 'tests/lhs-test.latex+lhs')
-rw-r--r-- | tests/lhs-test.latex+lhs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index a6270afcf..29237f820 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -4,7 +4,7 @@ \usepackage[utf8x]{inputenc} \usepackage{listings} \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} -\usepackage[breaklinks=true,unicode=true]{hyperref} +\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} \setlength{\parindent}{0pt} \setlength{\parskip}{6pt plus 2pt minus 1pt} \setcounter{secnumdepth}{0} @@ -14,17 +14,17 @@ \section{lhs test} -\verb!unsplit! is an arrow that takes a pair of values and combines -them to return a single value: +\verb!unsplit! is an arrow that takes a pair of values and combines them to +return a single value: \begin{code} unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d unsplit = arr . uncurry -- arr (\op (x,y) -> x `op` y) \end{code} -\verb!(***)! combines two arrows into a new arrow by running the -two arrows on a pair of values (one arrow on the first item of the -pair and one arrow on the second item of the pair). +\verb!(***)! combines two arrows into a new arrow by running the two arrows on +a pair of values (one arrow on the first item of the pair and one arrow on the +second item of the pair). \begin{verbatim} f *** g = first f >>> second g |