portray-prettyprinter
Portray backend for prettyprinter
This provides a
<https://hackage.haskell.org/package/prettyprinter prettyprinter> backend for
<https://hackage.haskell.org/package/portray portray> along with derivable
'Pretty' instances for types with 'Portray' instances.
This backend has largely superseded the original
<https://hackage.haskell.org/package/portray-pretty portray-pretty>. Because
@prettyprinter@ gives more flexibility to documents at the cost of requiring
more behavior to be specified explicitly, some formats are nicer with this
backend, configurable syntax highlighting is supported, and unicode escaping
is configurable. However, as this backend is still newer, there are
potentially more unnoticed formatting bugs. Please do file bugs on the
GitHub issue tracker if you find anything that seems obviously wrong!
Try using 'pp' as the print function in GHCi:
@:set -interactive-print=Data.Portray.Prettyprinter.pp@!
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.2.1 | 2022-09-25 05:10 UTC | AndrewPritchard | 2 revisions | +355/−87 lines, 4 filesdep ~basedep ~portraydep ~prettyprinterPVP ok |
| 0.2.0 | 2021-09-17 06:09 UTC | AndrewPritchard | 3 revisions | +559/−113 lines, 4 filesdep +QuickCheckdep +prettyprinter-ansi-terminaldep +test-framework-quickcheck2dep ~portraydep ~prettyprinterPVP ok |
| 0.1.0 | 2021-09-14 00:39 UTC | AndrewPritchard | 2 revisions | +727/−0 lines, 5 filesdep +HUnitdep +basedep +portray |
Dependencies of portray-prettyprinter-0.2.1
HUnit >=0 1.6.1.0 → 1.6.2.0
| 2021-01-19 18:27 UTC | 1.6.2.0 | +48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested |
| 2020-10-31 12:09 UTC | 1.6.1.0 | +35/−21 lines, 4 filesPVP ok |
| 2017-03-20 01:42 UTC | 1.6.0.0 | +9/−5 lines, 4 filesdep ~basePVP ok |
| 2016-10-16 03:35 UTC | 1.5.0.0 | +47/−27 lines, 5 filesPVP ok |
| 2016-10-07 03:13 UTC | 1.4.0.0 | +761/−778 lines, 12 filesdep +call-stackPVP ok |
showing 5 of 22 versions
QuickCheck >=0 2.18.0.0 → 2.19.0.0
| 2026-09-16 11:18 UTC | 2.19.0.0 | +67/−41 lines, 10 filesdep +OneTuplePVP ok |
| 2026-02-26 12:42 UTC | 2.18.0.0 | +826/−542 lines, 23 filesPVP ok |
| 2025-10-13 12:40 UTC | 2.17.1.0 | +18/−8 lines, 4 filesdep ~randomPVP: major bump suggested |
| 2025-10-07 12:26 UTC | 2.17.0.0 | +667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok |
| 2025-06-17 07:53 UTC | 2.16.0.0 | +477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok |
showing 5 of 66 versions
base >=4.12 && <4.18 4.17.2.1 → 4.22.1.0 newer than bounds
| 2026-12-01 12:38 UTC | 4.22.1.0 newer than bounds | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 newer than bounds | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 newer than bounds | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 newer than bounds | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 newer than bounds | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
portray >=0.3 && <0.4 0.2.0 → 0.3.0
| 2022-09-25 04:28 UTC | 0.3.0 | +555/−82 lines, 3 filesdep +bytestringdep ~basedep ~textPVP ok |
| 2021-09-17 06:00 UTC | 0.2.0 outside bounds | +322/−151 lines, 4 filesPVP ok |
| 2021-09-17 05:41 UTC | 0.1.1 outside bounds | +22/−3 lines, 3 filesPVP ok |
| 2021-09-02 21:09 UTC | 0.1.0.0 outside bounds | +1024/−0 lines, 5 filesdep +HUnitdep +basedep +containers |
portray-diff >=0.1 && <0.2 0.1.0.1 → 0.1.1
| 2022-09-25 05:01 UTC | 0.1.1 | +47/−27 lines, 3 filesdep ~basedep ~portraydep ~textPVP: major bump suggested |
| 2021-09-17 06:09 UTC | 0.1.0.1 | +30/−20 lines, 3 filesdep ~portrayPVP: minor bump suggested |
| 2021-09-02 21:12 UTC | 0.1.0.0 | +544/−0 lines, 4 filesdep +basedep +containersdep +dlist |
prettyprinter >=1.2 && <1.8 1.7.1 → 1.7.2
| 2026-04-28 13:43 UTC | 1.7.2 | +240/−167 lines, 17 filesdep +tasty-benchdep −faildep −gaugedep −transformersdep ~QuickCheckdep ~basedep ~base-compatPVP: major bump suggested |
| 2021-09-11 09:06 UTC | 1.7.1 | +197/−164 lines, 31 filesdep ~bytestringPVP ok |
| 2020-07-31 13:28 UTC | 1.7.0 | +4220/−3960 lines, 32 filesdep ~semigroupsPVP ok |
| 2020-06-20 22:40 UTC | 1.6.2 | +176/−87 lines, 6 filesPVP ok |
| 2020-02-10 18:33 UTC | 1.6.1 | +373/−145 lines, 13 filesPVP: major bump suggested |
showing 5 of 20 versions
prettyprinter-ansi-terminal >=1.1.1 && <1.2 1.1.3 → 1.1.4
| 2026-04-28 13:43 UTC | 1.1.4 | +142/−48 lines, 9 filesdep +tasty-benchdep −gaugedep −semigroupsdep ~QuickCheckdep ~basedep ~base-compatPVP ok |
| 2021-09-11 09:06 UTC | 1.1.3 | +16/−27 lines, 5 filesdep ~prettyprinterPVP ok |
| 2020-07-31 13:29 UTC | 1.1.2 | +618/−368 lines, 8 filesdep +QuickCheckdep +base-compatdep +containersdep ~basedep ~prettyprinterdep ~textnew-uploaderPVP: major bump suggested |
| 2018-02-22 07:48 UTC | 1.1.1.2 | +20/−11 lines, 3 files |
| 2017-08-05 11:42 UTC | 1.1.1.1 | +138/−54 lines, 3 filesdep ~prettyprinter |
showing 5 of 10 versions
test-framework >=0 0.8.2.2 → 0.8.2.3
| 2026-01-05 13:44 UTC | 0.8.2.3 | +15/−15 lines, 3 filesdep −bytestringdep −old-localedep −semigroupsdep ~ansi-terminaldep ~ansi-wl-pprintdep ~hostnamePVP: major bump suggested |
| 2025-04-11 08:21 UTC | 0.8.2.2 | +34/−35 lines, 3 filesdep −libxmldep −utf8-stringdep ~QuickCheckPVP ok |
| 2025-02-26 19:51 UTC | 0.8.2.1 | +1700/−1542 lines, 55 filesdep +utf8-stringdep −base-orphansdep ~HUnitdep ~QuickCheckdep ~ansi-terminalsetup-changednew-uploaderPVP: major bump suggested |
| 2017-12-30 17:50 UTC | 0.8.2.0 | +134/−79 lines, 13 filesdep +base-orphansdep +semigroupsdep ~QuickCheckdep ~ansi-terminaldep ~ansi-wl-pprintsetup-changedPVP: major bump suggested |
| 2015-01-09 04:04 UTC | 0.8.1.1 | +7/−2 lines, 2 filesdep ~ansi-terminaldep ~timePVP ok |
showing 5 of 34 versions
test-framework-hunit >=0 0.3.0.2 → 0.3.0.3
| 2026-01-05 13:43 UTC | 0.3.0.3 | +42/−40 lines, 4 filesdep −extensible-exceptionsdep ~HUnitdep ~basedep ~test-frameworksetup-changednew-uploaderPVP ok |
| 2015-09-04 15:42 UTC | 0.3.0.2 | +12/−4 lines, 2 filesdep ~HUnitnew-uploader |
| 2013-10-09 00:28 UTC | 0.3.0.1 | +10/−4 lines, 1 filesnew-uploader |
| 2012-12-04 19:56 UTC | 0.3.0 | +4/−1 lines, 2 filesdep ~test-frameworkPVP ok |
| 2012-01-27 12:54 UTC | 0.2.7 | +5/−5 lines, 2 filesPVP ok |
showing 5 of 12 versions
test-framework-quickcheck2 >=0 0.3.0.6 → 0.3.0.7
| 2026-01-05 13:43 UTC | 0.3.0.7 | +14/−10 lines, 3 filesdep −extensible-exceptionsPVP ok |
| 2025-02-26 19:51 UTC | 0.3.0.6 | +40/−33 lines, 4 filesdep ~QuickCheckdep ~basedep ~randomsetup-changednew-uploaderPVP ok |
| 2018-09-03 17:10 UTC | 0.3.0.5 | +12/−7 lines, 3 filesdep ~QuickCheckdep ~randomPVP ok |
| 2017-06-16 14:41 UTC | 0.3.0.4 | +47/−36 lines, 5 filesdep ~QuickCheckdep ~basedep ~test-frameworksetup-changednew-uploaderPVP: major bump suggested |
| 2014-04-11 10:30 UTC | 0.3.0.3 | +25/−4 lines, 2 filesdep ~QuickCheckdep ~randomdep ~test-frameworknew-uploader |
showing 5 of 24 versions
text >=0.1 && <2.1 2.0.2 → 2.1.5 newer than bounds
| 2026-11-27 23:30 UTC | 2.1.5 newer than bounds | +33786/−32979 lines, 58 filesPVP: major bump suggested |
| 2026-01-28 08:30 UTC | 2.1.4 newer than bounds | +30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok |
| 2025-08-01 20:08 UTC | 2.1.3 newer than bounds | +2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok |
| 2024-10-26 13:22 UTC | 2.1.2 newer than bounds | +43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested |
| 2024-02-16 22:16 UTC | 2.1.1 newer than bounds | +986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested |
showing 5 of 83 versions
Reverse dependencies
no known reverse dependencies