Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ghc-8.0 #65

Merged
merged 1 commit into from
May 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ matrix:
- env: CABALVER=1.22 GHCVER=7.10.3
compiler: ": #GHC 7.10.3"
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
- env: CABALVER=1.24 GHCVER=8.0.1
compiler: ": #GHC 8.0.1"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1,happy-1.19.5], sources: [hvr-ghc]}}

before_install:
- unset CC
Expand Down
3 changes: 3 additions & 0 deletions src/Data/Swagger/Internal/AesonUtils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE TemplateHaskell #-}
#if __GLASGOW_HASKELL__ >= 800
{-# LANGUAGE UndecidableSuperClasses #-}
#endif
module Data.Swagger.Internal.AesonUtils (
-- * Generic functions
AesonDefaultValue(..),
Expand Down
93 changes: 93 additions & 0 deletions stack-ghc-8.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
resolver: ghc-8.0.0.20160421
packages:
- '.'
- location:
git: https://github.com/ekmett/parsers.git
commit: f1fff116f277ffb733e6b6e281c3e7a1912e82d9
extra-dep: true
- location:
git: https://github.com/ekmett/reducers.git
commit: 0e610b18eb48952cc62423eee094d86c952844b4
extra-dep: true
extra-deps:
- adjunctions-4.3
- aeson-0.11.2.0
- aeson-qq-0.8.1
- ansi-terminal-0.6.2.3
- async-2.1.0
- attoparsec-0.13.0.2
- base-compat-0.9.1
- base-orphans-0.5.4
- bifunctors-5.3
- case-insensitive-1.2.0.6
- charset-0.3.7.1
- comonad-5
- contravariant-1.4
- cpphs-1.20.1
- distributive-0.5.0.2
- dlist-0.7.1.2
- doctest-0.11.0
- exceptions-0.8.2.1
- fail-4.9.0.0
- fingertree-0.1.1.0
- free-4.12.4
- generics-sop-0.2.1.0
- ghc-paths-0.1.0.9
- Glob-0.7.5
- hashable-1.2.4.0
- haskell-src-exts-1.17.1
- haskell-src-meta-0.6.0.14
- hspec-2.2.3
- hspec-core-2.2.3
- hspec-discover-2.2.3
- hspec-expectations-0.7.2
- http-media-0.6.3
- HUnit-1.3.1.1
- insert-ordered-containers-0.1.0.1
- kan-extensions-5.0.1
- lens-4.14
- mtl-2.2.1
- network-2.6.2.1
- old-locale-1.0.0.7
- old-time-1.1.0.3
- parallel-3.2.1.0
- parsec-3.1.11
- polyparse-1.12
- prelude-extras-0.4.0.3
- primitive-0.6.1.0
- profunctors-5.2
- QuickCheck-2.8.2
- quickcheck-instances-0.3.12
- quickcheck-io-0.1.2
- random-1.1
- reflection-2.1.2
- safe-0.3.9
- scientific-0.3.4.6
- semigroupoids-5.0.1
- semigroups-0.18.1
- setenv-0.1.1.3
- StateVar-1.1.0.4
- stm-2.4.4.1
- syb-0.6
- tagged-0.8.4
- text-1.2.2.1
- tf-random-0.5
- th-expand-syns-0.4.0.0
- th-lift-0.7.6
- th-lift-instances-0.1.7
- th-orphans-0.13.1
- th-reify-many-0.1.6
- transformers-compat-0.5.1.4
- unordered-containers-0.2.7.0
- vector-0.11.0.0
- void-0.7.1
flags: {}
compiler-check: match-exact
setup-info:
ghc:
linux64:
8.0.0.20160421:
url: https://downloads.haskell.org/~ghc/8.0.1-rc4/ghc-8.0.0.20160421-x86_64-unknown-linux.tar.xz
macosx:
8.0.0.20160421:
url: https://downloads.haskell.org/~ghc/8.0.1-rc4/ghc-8.0.0.20160421-x86_64-apple-darwin.tar.xz
2 changes: 1 addition & 1 deletion swagger2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extra-source-files:
, examples/*.hs
, include/overlapping-compat.h
cabal-version: >=1.10
tested-with: GHC==7.8.4, GHC==7.10.3
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.1

library
hs-source-dirs: src
Expand Down