git.iko.soy/typeable/swagger2
on master help sign in
Merge pull request #65 from phadej/ghc-8.0

Support ghc-8.0

commit863b414893da1db41da6a6e22dc4933684e29da9 authorNickolay Kudasov <fizruk@users.noreply.github.com> dateFri 13 May 2016, 14:48 (10 years ago) parente1ccb48b0f6c45
4 files changed+100−1
.travis.yml+3 src/Data/Swagger/Internal/AesonUtils.hs+3 stack-ghc-8.0.yaml+93 swagger2.cabal+1−1
.travis.yml+3
@@ -19,6 +19,9 @@ matrix:
1919 - env: CABALVER=1.22 GHCVER=7.10.3
2020 compiler: ": #GHC 7.10.3"
2121 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
22+ - env: CABALVER=1.24 GHCVER=8.0.1
23+ compiler: ": #GHC 8.0.1"
24+ addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1,happy-1.19.5], sources: [hvr-ghc]}}
2225
2326before_install:
2427 - unset CC
src/Data/Swagger/Internal/AesonUtils.hs+3
@@ -5,6 +5,9 @@
55{-# LANGUAGE ScopedTypeVariables #-}
66{-# LANGUAGE ExplicitForAll #-}
77{-# LANGUAGE TemplateHaskell #-}
8+#if __GLASGOW_HASKELL__ >= 800
9+{-# LANGUAGE UndecidableSuperClasses #-}
10+#endif
811module Data.Swagger.Internal.AesonUtils (
912 -- * Generic functions
1013 AesonDefaultValue(..),
stack-ghc-8.0.yamlnew file+93
@@ -0,0 +1,93 @@
1+resolver: ghc-8.0.0.20160421
2+packages:
3+- '.'
4+- location:
5+ git: https://github.com/ekmett/parsers.git
6+ commit: f1fff116f277ffb733e6b6e281c3e7a1912e82d9
7+ extra-dep: true
8+- location:
9+ git: https://github.com/ekmett/reducers.git
10+ commit: 0e610b18eb48952cc62423eee094d86c952844b4
11+ extra-dep: true
12+extra-deps:
13+- adjunctions-4.3
14+- aeson-0.11.2.0
15+- aeson-qq-0.8.1
16+- ansi-terminal-0.6.2.3
17+- async-2.1.0
18+- attoparsec-0.13.0.2
19+- base-compat-0.9.1
20+- base-orphans-0.5.4
21+- bifunctors-5.3
22+- case-insensitive-1.2.0.6
23+- charset-0.3.7.1
24+- comonad-5
25+- contravariant-1.4
26+- cpphs-1.20.1
27+- distributive-0.5.0.2
28+- dlist-0.7.1.2
29+- doctest-0.11.0
30+- exceptions-0.8.2.1
31+- fail-4.9.0.0
32+- fingertree-0.1.1.0
33+- free-4.12.4
34+- generics-sop-0.2.1.0
35+- ghc-paths-0.1.0.9
36+- Glob-0.7.5
37+- hashable-1.2.4.0
38+- haskell-src-exts-1.17.1
39+- haskell-src-meta-0.6.0.14
40+- hspec-2.2.3
41+- hspec-core-2.2.3
42+- hspec-discover-2.2.3
43+- hspec-expectations-0.7.2
44+- http-media-0.6.3
45+- HUnit-1.3.1.1
46+- insert-ordered-containers-0.1.0.1
47+- kan-extensions-5.0.1
48+- lens-4.14
49+- mtl-2.2.1
50+- network-2.6.2.1
51+- old-locale-1.0.0.7
52+- old-time-1.1.0.3
53+- parallel-3.2.1.0
54+- parsec-3.1.11
55+- polyparse-1.12
56+- prelude-extras-0.4.0.3
57+- primitive-0.6.1.0
58+- profunctors-5.2
59+- QuickCheck-2.8.2
60+- quickcheck-instances-0.3.12
61+- quickcheck-io-0.1.2
62+- random-1.1
63+- reflection-2.1.2
64+- safe-0.3.9
65+- scientific-0.3.4.6
66+- semigroupoids-5.0.1
67+- semigroups-0.18.1
68+- setenv-0.1.1.3
69+- StateVar-1.1.0.4
70+- stm-2.4.4.1
71+- syb-0.6
72+- tagged-0.8.4
73+- text-1.2.2.1
74+- tf-random-0.5
75+- th-expand-syns-0.4.0.0
76+- th-lift-0.7.6
77+- th-lift-instances-0.1.7
78+- th-orphans-0.13.1
79+- th-reify-many-0.1.6
80+- transformers-compat-0.5.1.4
81+- unordered-containers-0.2.7.0
82+- vector-0.11.0.0
83+- void-0.7.1
84+flags: {}
85+compiler-check: match-exact
86+setup-info:
87+ ghc:
88+ linux64:
89+ 8.0.0.20160421:
90+ url: https://downloads.haskell.org/~ghc/8.0.1-rc4/ghc-8.0.0.20160421-x86_64-unknown-linux.tar.xz
91+ macosx:
92+ 8.0.0.20160421:
93+ url: https://downloads.haskell.org/~ghc/8.0.1-rc4/ghc-8.0.0.20160421-x86_64-apple-darwin.tar.xz
swagger2.cabal+1−1
@@ -17,7 +17,7 @@ extra-source-files:
1717 , examples/*.hs
1818 , include/overlapping-compat.h
1919cabal-version: >=1.10
20−tested-with: GHC==7.8.4, GHC==7.10.3
20+tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.1
2121
2222library
2323 hs-source-dirs: src