nonempty-wrapper-aeson 0.1.0.0 → 0.1.0.1
raw patch · 5 files changed
+24/−7 lines, 5 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Data.Aeson.Types.Instances.NonEmpty: ($dmfromJSONKey) :: (FromJSONKey a, FromJSON a) => FromJSONKeyFunction a
+ Data.Aeson.Types.Instances.NonEmpty: ($dmfromJSONKeyList) :: (FromJSONKey a, FromJSON a) => FromJSONKeyFunction [a]
+ Data.Aeson.Types.Instances.NonEmpty: ($dmparseJSON) :: (FromJSON a, Generic a, GFromJSON Zero (Rep a)) => Value -> Parser a
+ Data.Aeson.Types.Instances.NonEmpty: ($dmtoJSON) :: (ToJSON a, Generic a, GToJSON' Value Zero (Rep a)) => a -> Value
+ Data.Aeson.Types.Instances.NonEmpty: ($dmtoJSONKey) :: (ToJSONKey a, ToJSON a) => ToJSONKeyFunction a
+ Data.Aeson.Types.Instances.NonEmpty: ($dmtoJSONKeyList) :: (ToJSONKey a, ToJSON a) => ToJSONKeyFunction [a]
+ Data.Aeson.Types.Instances.NonEmpty: omitField :: ToJSON a => a -> Bool
+ Data.Aeson.Types.Instances.NonEmpty: omittedField :: FromJSON a => Maybe a
Files
- LICENSE +1/−1
- README.md +11/−0
- changelog.md +3/−0
- nonempty-wrapper-aeson.cabal +6/−3
- src/Data/Aeson/Types/Instances/NonEmpty.hs +3/−3
LICENSE view
@@ -1,6 +1,6 @@ ISC License -Copyright (c) 2022 Gautier DI FOLCO+Copyright (c) 2022-2025 Gautier DI FOLCO Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above
+ README.md view
@@ -0,0 +1,11 @@+# nonempty-wrapper-aeson++Create NonEmpty version of any container.++`aeson` `instance`s.++## Example:++```+type NonEmptyText = NonEmpty Text+```
+ changelog.md view
@@ -0,0 +1,3 @@+# 0.1.0.1++* Change license/e-mail address
nonempty-wrapper-aeson.cabal view
@@ -1,8 +1,11 @@ cabal-version: 3.0 name: nonempty-wrapper-aeson-version: 0.1.0.0+version: 0.1.0.1+extra-doc-files:+ README.md+ changelog.md author: Gautier DI FOLCO-maintainer: gautier.difolco@gmail.com+maintainer: foss@difolco.dev category: Data build-type: Simple license: ISC@@ -10,7 +13,7 @@ synopsis: aeson instances for 'NonEmpty' description: aeson instances for 'NonEmpty'. Homepage: http://github.com/blackheaven/nonempty-wrapper/nonempty-wrapper-aeson-tested-with: GHC==9.2.2, GHC==9.0.2, GHC==8.10.7+tested-with: GHC==9.12.1, GHC==9.10.2, GHC==9.8.4, GHC==9.6.7, GHC==9.4.8, GHC==9.2.8 library default-language: Haskell2010
src/Data/Aeson/Types/Instances/NonEmpty.hs view
@@ -2,11 +2,11 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} -- |--- Module : Test.QuickCheck.Instances.NonEmpty+-- Module : Data.Aeson.Types.Instances.NonEmpty -- Copyright : Gautier DI FOLCO--- License : BSD2+-- License : ISC ----- Maintainer : Gautier DI FOLCO <gautier.difolco@gmail.com>+-- Maintainer : Gautier DI FOLCO <foss@difolco.dev> -- Stability : Unstable -- Portability : GHC --