diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-17 19:21:56 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-17 19:21:56 +0200 |
commit | 2b9ceaead3f3cd80e973cccecb9a3eebc51154f7 (patch) | |
tree | df2378943480647606b6a06f62c0f4b8b2ab406d /tp-bbcode/test/Thermoprint | |
parent | ac4cf4a0a494eafe55364f816569c517684fdf32 (diff) | |
download | thermoprint-2b9ceaead3f3cd80e973cccecb9a3eebc51154f7.tar thermoprint-2b9ceaead3f3cd80e973cccecb9a3eebc51154f7.tar.gz thermoprint-2b9ceaead3f3cd80e973cccecb9a3eebc51154f7.tar.bz2 thermoprint-2b9ceaead3f3cd80e973cccecb9a3eebc51154f7.tar.xz thermoprint-2b9ceaead3f3cd80e973cccecb9a3eebc51154f7.zip |
Fixes for GHC 8.0.1
Diffstat (limited to 'tp-bbcode/test/Thermoprint')
-rw-r--r-- | tp-bbcode/test/Thermoprint/Printout/BBCodeSpec.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tp-bbcode/test/Thermoprint/Printout/BBCodeSpec.hs b/tp-bbcode/test/Thermoprint/Printout/BBCodeSpec.hs index 09b3147..7909360 100644 --- a/tp-bbcode/test/Thermoprint/Printout/BBCodeSpec.hs +++ b/tp-bbcode/test/Thermoprint/Printout/BBCodeSpec.hs | |||
@@ -53,7 +53,7 @@ normalize = (!! 3) . iterate normalize' . first (const ()) | |||
53 | join' _ = Left () | 53 | join' _ = Left () |
54 | 54 | ||
55 | pOut :: Seq Block -> Printout | 55 | pOut :: Seq Block -> Printout |
56 | pOut = fmap (pure . Cooked) | 56 | pOut = Printout . fmap (Paragraph . pure . Cooked) |
57 | 57 | ||
58 | examples :: [(Text, Either BBCodeError (Seq Block))] | 58 | examples :: [(Text, Either BBCodeError (Seq Block))] |
59 | examples = [ ("Hello World!" | 59 | examples = [ ("Hello World!" |