/
th-pprint.cabal
31 lines (29 loc) · 1.01 KB
/
th-pprint.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: th-pprint
version: 0.2.0.0
license: BSD3
license-file: LICENSE
author: Brian McKenna
maintainer: brian@brianmckenna.org
category: Development
build-type: Simple
cabal-version: >=1.10
synopsis: Simplify and render Template Haskell
description:
Simplify and render Template Haskell. Functions to dump TH code for easy
inspection and/or copy-pasting the result into your Haskell files.
.
For example:
.
> putStrLn $(simplifiedTH =<< makePrisms ''Maybe)
source-repository head
type: git
location: https://github.com/puffnfresh/th-pprint.git
library
exposed-modules: Language.Haskell.TH.Cleanup
, Language.Haskell.TH.Cleanup.Lens
, Language.Haskell.TH.Cleanup.Rules
build-depends: base >= 4.5 && < 5
, lens
, pretty
, template-haskell
default-language: Haskell2010