summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaskellworks <>2018-12-06 03:45:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-12-06 03:45:00 (GMT)
commita926ac52de1131303edd62f464c565bd16c50fe6 (patch)
treeb4d497f717db365b518ea5ed9927adef2225236e
parent5477a9bc26dc0a393f042707d8918cb0d3fa6694 (diff)
version 0.1.0.1HEAD0.1.0.1master
-rw-r--r--hw-aeson.cabal22
-rw-r--r--src/HaskellWorks/Data/Aeson.hs1
2 files changed, 10 insertions, 13 deletions
diff --git a/hw-aeson.cabal b/hw-aeson.cabal
index de789c3..073b16a 100644
--- a/hw-aeson.cabal
+++ b/hw-aeson.cabal
@@ -1,9 +1,5 @@
--- This file has been generated from package.yaml by hpack version 0.18.1.
---
--- see: https://github.com/sol/hpack
-
name: hw-aeson
-version: 0.1.0.0
+version: 0.1.0.1
synopsis: Convenience functions for Aeson
description: Convenience functions for Aeson
category: Data, JSON
@@ -16,7 +12,6 @@ license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
-
extra-source-files:
README.md
@@ -25,30 +20,31 @@ source-repository head
location: https://github.com/haskell-works/hw-aeson
library
+ exposed-modules:
+ HaskellWorks.Data.Aeson
+ other-modules:
+ Paths_hw_aeson
hs-source-dirs:
src
build-depends:
aeson
, base >=4.7 && <5
, text
- exposed-modules:
- HaskellWorks.Data.Aeson
- other-modules:
- Paths_hw_aeson
default-language: Haskell2010
test-suite hw-aeson-test
type: exitcode-stdio-1.0
main-is: Spec.hs
+ other-modules:
+ HaskellWorks.Data.AesonSpec
+ Paths_hw_aeson
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
, base
- , hspec
, hedgehog
+ , hspec
, hw-aeson
- other-modules:
- HaskellWorks.Data.AesonSpec
default-language: Haskell2010
diff --git a/src/HaskellWorks/Data/Aeson.hs b/src/HaskellWorks/Data/Aeson.hs
index e08de7d..cf75293 100644
--- a/src/HaskellWorks/Data/Aeson.hs
+++ b/src/HaskellWorks/Data/Aeson.hs
@@ -5,6 +5,7 @@ module HaskellWorks.Data.Aeson
import Data.Aeson
import Data.Aeson.Types
+import Data.Semigroup ((<>))
import Data.Text
import Text.Read