Skip to content

Commit

Permalink
Merge pull request #11 from delanoe/anoe
Browse files Browse the repository at this point in the history
FIX aeson lib dependency upgrade.
  • Loading branch information
tepf committed Jun 7, 2016
2 parents 7f10a96 + 6579805 commit e39782b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 40 deletions.
4 changes: 2 additions & 2 deletions QuickPlot.cabal
@@ -1,5 +1,5 @@
name: QuickPlot
version: 0.1.0.1
version: 0.1.0.2
synopsis: Quick and easy data visualization with Haskell
description: Please see README.md
homepage: http://github.com/tepf/QuickPlot#readme
Expand All @@ -26,7 +26,7 @@ library
, QuickPlot.Plotly
, QuickPlot.Vis
build-depends: base >= 4.7 && < 5
, aeson >= 0.9.0.1
, aeson >= 0.11.2.0
, bytestring >= 0.10.6
, text >= 1.2.2
, snap >= 0.14.0.6
Expand Down
5 changes: 0 additions & 5 deletions src/QuickPlot/IPC/QQ.hs
Expand Up @@ -12,7 +12,6 @@ import qualified Data.Text as T
import Data.Aeson hiding (json)
import QuickPlot.IPC.QQParser


json :: QuasiQuoter
json = QuasiQuoter { quoteExp = jsonExp
, quotePat = const $ error "No quotePat defined for jsonQQ"
Expand All @@ -27,10 +26,6 @@ jsonExp string =
Right val -> [| val |]


instance Lift Value where
lift value = [| value |]


instance Lift JSONValue where
lift (JSONString string) = [| String (T.pack string) |]
lift JSONNull = [| Null |]
Expand Down
42 changes: 9 additions & 33 deletions stack.yaml
@@ -1,35 +1,11 @@
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html

# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-5.2

# Local packages, usually specified by relative directory name
packages:
- '.'

# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps: []

# Override default flag values for local packages and extra-deps
flags: {}

# Extra package databases containing global packages
extra-package-dbs: []

# Control whether we use the GHC we find on the path
# system-ghc: true

# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: >= 1.0.0

# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64

# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]

# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
packages:
- '.'
extra-deps:
- aeson-0.11.2.0
- base-orphans-0.5.4
- cpphs-1.20.1
- fail-4.9.0.0
- text-1.2.2.0
resolver: lts-5.2

0 comments on commit e39782b

Please sign in to comment.