packages feed

haskell-tools-prettyprint

Pretty printing of Haskell-Tools AST

view on Hackage

Converts the Haskell-Tools AST to text. Prepares the AST for this conversion. If the AST was created from the GHC AST this pretty printing will result in the original source code. Generated AST parts will get the default formatting. Works using the source annotations that are present in the AST. Creates a rose tree first to simplify the conversion.
versionuploadeduploaderchanges
1.1.1.02019-01-09 11:32 UTClazac+31/−21 lines, 3 filesdep ~basedep ~containersdep ~ghc
1.1.0.22018-07-11 15:42 UTClazac+1/−1 lines, 1 filesPVP ok
1.1.0.12018-07-02 18:40 UTClazac+1/−1 lines, 1 files
1.1.0.02018-06-13 19:30 UTClazac+31/−17 lines, 9 filesdep ~basedep ~ghcdep ~haskell-tools-ast
1.0.1.12018-03-09 08:25 UTClazac+16/−19 lines, 9 filesPVP ok
1.0.0.42018-01-12 07:07 UTClazac+1/−1 lines, 1 filesPVP ok
1.0.0.32018-01-02 01:55 UTClazac+1/−1 lines, 1 files
1.0.0.22017-12-12 01:41 UTClazac+1/−1 lines, 1 files
1.0.0.12017-12-06 01:18 UTClazac+1/−1 lines, 1 files
1.0.0.02017-11-22 05:12 UTClazac+76/−67 lines, 10 filesdep ~basedep ~ghcdep ~haskell-tools-ast
0.9.0.02017-08-24 13:20 UTClazac+811/−829 lines, 17 filesdep ~ghcdep ~haskell-tools-astPVP ok
0.8.1.02017-07-31 08:16 UTClazac+2/−2 lines, 1 filesdep ~ghcPVP ok
0.8.0.02017-07-01 11:58 UTClazac+16/−8 lines, 5 filesdep ~haskell-tools-astPVP ok
0.7.0.02017-05-08 07:13 UTClazac+79/−55 lines, 7 filesdep ~haskell-tools-astPVP ok
0.6.0.02017-04-01 12:34 UTClazac+227/−163 lines, 10 filesdep +textdep ~haskell-tools-astPVP ok
0.5.0.02017-01-31 21:25 UTClazac+60/−51 lines, 8 filesdep ~haskell-tools-astPVP ok
0.4.1.32017-01-14 18:54 UTClazac+1/−1 lines, 1 filesPVP ok
0.4.1.22017-01-14 18:43 UTClazac+61/−78 lines, 11 filesPVP ok
0.4.1.12017-01-07 11:18 UTClazac+1/−1 lines, 1 filesPVP ok
0.4.1.02016-12-31 12:05 UTClazac+1/−1 lines, 1 filesPVP ok
0.4.0.02016-12-16 13:52 UTClazac+190/−85 lines, 8 filesdep ~haskell-tools-astPVP ok
0.3.0.12016-11-04 11:42 UTClazac+1/−1 lines, 1 filesPVP ok
0.3.0.02016-11-03 17:33 UTClazac+681/−13 lines, 9 filesdep +uniplatedep −haskell-tools-ast-trfdep ~basedep ~haskell-tools-astdep ~referencesPVP ok
0.2.0.02016-10-05 08:49 UTClazac+5/−5 lines, 2 filesdep ~haskell-tools-astdep ~haskell-tools-ast-trfsetup-changedPVP ok
0.1.3.02016-08-01 12:40 UTClazac+46/−35 lines, 3 filesdep −structural-traversaldep ~haskell-tools-astdep ~haskell-tools-ast-trfPVP: major bump suggested
0.1.2.02016-07-01 11:28 UTClazac+186/−0 lines, 5 filesdep +basedep +containersdep +ghcsetup-changed

Dependencies of haskell-tools-prettyprint-1.1.1.0

base >=4.11 && <4.13 4.12.0.0 → 4.22.1.0 newer than bounds
2026-12-01 12:38 UTC4.22.1.0 newer than bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 newer than bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 newer than bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 newer than bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 newer than bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

containers >=0.5 && <0.7 0.6.8 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

ghc >=8.4 && <8.7 8.6.5 → 9.14.2 newer than bounds
2026-12-01 12:38 UTC9.14.2 newer than bounds+9989/−5774 lines, 231 filesdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested
2025-12-19 11:51 UTC9.14.1 newer than bounds+94968/−73927 lines, 535 filesdep +ghc-internaldep ~basedep ~containersdep ~ghc-bootsetup-changedPVP ok
2026-03-27 12:26 UTC9.12.4 newer than bounds+3128/−1766 lines, 79 filesdep +rtsdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested
2025-12-27 10:29 UTC9.12.3 newer than bounds+6833/−5245 lines, 117 filesdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested
2025-06-16 15:02 UTC9.12.2 newer than bounds+182/−697 lines, 17 filesdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested

showing 5 of 51 versions

haskell-tools-ast >=1.1 && <1.2 1.1.0.2 → 1.1.1.0
2019-01-09 11:29 UTC1.1.1.0+4/−4 lines, 1 filesdep ~basedep ~ghcdep ~template-haskell
2018-07-11 15:41 UTC1.1.0.2+1/−1 lines, 1 filesPVP: major bump suggested
2018-07-02 18:38 UTC1.1.0.1+1/−1 lines, 1 files
2018-06-13 19:28 UTC1.1.0.0+117/−47 lines, 13 filesdep ~basedep ~ghcdep ~template-haskell
2018-03-09 08:19 UTC1.0.1.1 outside bounds+338/−495 lines, 25 filesdep +classyplatedep +prettyPVP: major bump suggested

showing 5 of 27 versions

mtl >=2.2 && <2.3 2.2.2 → 2.3.2 newer than bounds
2025-12-08 04:58 UTC2.3.2 newer than bounds+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1 newer than bounds+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3 newer than bounds+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

references >=0.3 && <0.4 0.3.3.0 → 0.3.3.1
2017-11-28 00:57 UTC0.3.3.1+2/−2 lines, 1 filesdep ~eitherPVP: major bump suggested
2017-09-27 06:39 UTC0.3.3.0+251/−270 lines, 11 filesPVP: major bump suggested
2017-07-31 09:01 UTC0.3.2.2+2/−2 lines, 2 filesPVP: major bump suggested
2017-01-06 11:04 UTC0.3.2.1+18/−5 lines, 2 filesdep ~eitherdep ~instance-controldep ~uniplatePVP: major bump suggested
2016-06-30 10:33 UTC0.3.2.0+1/−1 lines, 1 filesPVP ok

showing 5 of 14 versions

split >=0.2 && <0.3 0.2.5 → 0.2.5.1
2026-08-28 19:55 UTC0.2.5.1+20/−3 lines, 3 filesPVP ok
2024-01-11 16:34 UTC0.2.5+25/−2 lines, 4 filesPVP ok
2023-10-09 18:34 UTC0.2.4+614/−514 lines, 7 filesdep ~QuickCheckPVP ok
2022-08-11 16:02 UTC0.2.3.5+30/−5 lines, 4 filesdep ~basePVP ok
2020-02-22 21:57 UTC0.2.3.4+15/−3 lines, 2 filesdep ~basePVP ok

showing 5 of 26 versions

text >=1.2 && <1.3 1.2.5.0 → 2.1.5 newer than bounds
2026-11-27 23:30 UTC2.1.5 newer than bounds+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4 newer than bounds+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3 newer than bounds+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2 newer than bounds+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1 newer than bounds+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

uniplate >=1.6 && <1.7 1.6.12 → 1.6.13
2020-11-07 19:53 UTC1.6.13+369/−548 lines, 23 filesdep +ghc-primdep ~base
2013-10-26 21:17 UTC1.6.12+4/−5 lines, 2 filesdep ~hashabledep ~unordered-containers
2013-08-14 15:35 UTC1.6.11+4/−4 lines, 3 filesPVP ok
2012-12-14 08:53 UTC1.6.10+3/−4 lines, 3 filesdep ~hashablePVP ok
2012-12-08 19:45 UTC1.6.9+52/−128 lines, 11 filesPVP: major bump suggested

showing 5 of 24 versions

Reverse dependencies

7 packages depend on haskell-tools-prettyprint

haskell-tools-builtin-refactorings 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2
haskell-tools-daemon 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2
haskell-tools-debug 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2
haskell-tools-demo 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2
haskell-tools-experimental-refactorings 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2
haskell-tools-refactor 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2
haskell-tools-rewrite 1.1.1.0 requires haskell-tools-prettyprint >=1.1 && <1.2