genvalidity-dlist 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
genvalidity-dlist.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: genvalidity-dlist-version: 0.1.0.0+version: 0.1.0.1 synopsis: GenValidity support for dlist category: Testing homepage: https://github.com/NorfairKing/validity#readme
src/Data/GenValidity/DNonEmpty.hs view
@@ -8,5 +8,5 @@ import Data.Validity.DNonEmpty () instance (GenValid a) => GenValid (DNonEmpty a) where- genValid = DNonEmpty.fromList <$> genValid+ genValid = DNonEmpty.fromNonEmpty <$> genValid shrinkValid = fmap DNonEmpty.fromNonEmpty . shrinkValid . DNonEmpty.toNonEmpty