Skip to content

Commit 2bc6f22

Browse files
authored
Merge pull request #553 from RyanGlScott/th-abstraction
Use the th-abstraction library to factor out some TH boilerplate
2 parents 6b27594 + 7562723 commit 2bc6f22

File tree

9 files changed

+362
-663
lines changed

9 files changed

+362
-663
lines changed

Data/Aeson/TH.hs

Lines changed: 354 additions & 663 deletions
Large diffs are not rendered by default.

aeson.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ library
125125
tagged >=0.8.3 && <0.9,
126126
template-haskell >= 2.7,
127127
text >= 1.1.1.0,
128+
th-abstraction >= 0.2.2 && < 0.3,
128129
time >= 1.1.1.4,
129130
time-locale-compat >= 0.1.1 && < 0.2,
130131
unordered-containers >= 0.2.5.0 && < 0.3,

benchmarks/aeson-benchmarks.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ library
5454
tagged >=0.8.3 && <0.9,
5555
template-haskell >= 2.4,
5656
text >= 1.1.1.0,
57+
th-abstraction >= 0.2.2 && < 0.3,
5758
time,
5859
transformers,
5960
unordered-containers >= 0.2.3.0,

stack-bench.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ packages:
44
- benchmarks
55
extra-deps:
66
- quickcheck-instances-0.3.14
7+
- th-abstraction-0.2.2.0

stack-lts6.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ extra-deps:
88
- quickcheck-instances-0.3.14
99
- semigroups-0.18.2
1010
- tagged-0.8.5
11+
- th-abstraction-0.2.2.0
1112
- transformers-compat-0.5.1.4
1213
flags:
1314
flags:

stack-lts7.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ packages:
55
extra-deps:
66
- integer-logarithms-1
77
- quickcheck-instances-0.3.14
8+
- th-abstraction-0.2.2.0
89
flags:
910
aeson:
1011
fast: true

stack-lts8.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ packages:
44
- attoparsec-iso8601
55
extra-deps:
66
- quickcheck-instances-0.3.14
7+
- th-abstraction-0.2.2.0
78
flags:
89
aeson:
910
fast: true

stack-nightly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ packages:
44
- attoparsec-iso8601
55
extra-deps:
66
- quickcheck-instances-0.3.14
7+
- th-abstraction-0.2.2.0
78
flags:
89
aeson:
910
fast: true

stack-pure-unescape.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ packages:
33
- '.'
44
extra-deps:
55
- quickcheck-instances-0.3.14
6+
- th-abstraction-0.2.2.0
67
flags:
78
aeson:
89
fast: true

0 commit comments

Comments
 (0)