diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-06 21:04:57 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-06 21:04:57 -0800 |
commit | 71bedab81c012be50c6605ed0dbf4ef936cde05e (patch) | |
tree | a90d0dbad49c05bcf7fcc9285b023257ffec000e /tests/lhs-test.latex+lhs | |
parent | c4c336460bb99bad2cca8c693452978d6ad8a5dd (diff) | |
download | pandoc-71bedab81c012be50c6605ed0dbf4ef936cde05e.tar.gz |
LHS test changes for new wrapping & highlighting-kate version.
Diffstat (limited to 'tests/lhs-test.latex+lhs')
-rw-r--r-- | tests/lhs-test.latex+lhs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 7ccdbb699..29237f820 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -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 |