packages feed

opaleye 0.6.7001.0 → 0.6.7002.0

raw patch · 4 files changed

+16/−5 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Opaleye.Internal.TypeFamilies: type N = 'NonNullable
+ Opaleye.Internal.TypeFamilies: type N = 'Nullable
- Opaleye.Internal.TypeFamilies: type NN = 'Nullable
+ Opaleye.Internal.TypeFamilies: type NN = 'NonNullable
- Opaleye.TypeFamilies: type N = 'NonNullable
+ Opaleye.TypeFamilies: type N = 'Nullable
- Opaleye.TypeFamilies: type NN = 'Nullable
+ Opaleye.TypeFamilies: type NN = 'NonNullable

Files

CHANGELOG.md view
@@ -1,3 +1,11 @@+## 0.6.7002.0++This is a breaking release that doesn't follow the PVP but because+it's essentially a pre-release for version 0.7 I'm just going to+blacklist the broken versions on Hackage and forget about it.++* Swapped `N` and `NN` because they were the wrong way round.+ ## 0.6.7001.0  * Fix bug with infinity in range bounds
Test/QuickCheck.hs view
@@ -395,10 +395,13 @@          => p [Either a b] [Either a' b'] eitherPP = PP.list (D.def PP.+++! D.def) +-- Replace this with `isSuccess` when the following issue is fixed+--+--     https://github.com/nick8325/quickcheck/issues/220 errorIfNotSuccess :: TQ.Result -> IO () errorIfNotSuccess r = case r of-  TQ.Success _ _ _ -> return ()-  _                -> error "Failed"+  TQ.Success {} -> return ()+  _             -> error "Failed"  firstBoolOrTrue :: b -> [Either a b] -> (b, [Either a b]) firstBoolOrTrue true c = (b, c)
opaleye.cabal view
@@ -1,6 +1,6 @@ name:            opaleye copyright:       Copyright (c) 2014-2018 Purely Agile Limited-version:         0.6.7001.0+version:         0.6.7002.0 synopsis:        An SQL-generating DSL targeting PostgreSQL description:     An SQL-generating DSL targeting PostgreSQL.  Allows                  Postgres queries to be written within Haskell in a
src/Opaleye/Internal/TypeFamilies.hs view
@@ -24,8 +24,8 @@ data NullsT data WT -type NN = 'F.Nullable-type N  = 'F.NonNullable+type NN = 'F.NonNullable+type N  = 'F.Nullable  data Optionality = OReq | OOpt