git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #120 from haskellari/remove-eq-null

Remove Eq Null instance

commit27a13456d65120322831ef96a5349e4e3be094d1 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSun 30 Jul 2023, 22:46 (3 years ago) parent41d650da70a9b4
2 files changed+4−4
CHANGES.md+4 src/Database/PostgreSQL/Simple/Types.hs−4
CHANGES.md+4
@@ -1,3 +1,7 @@
1+### Version 0.7 (2023-07-31)
2+
3+ * Remove Eq Null instance. (Future `base` may break it, we remove it profilacticly).
4+
15### Version 0.6.5.1 (2023-07-09)
26
37 * Support `aeson-2.2.0.0`
src/Database/PostgreSQL/Simple/Types.hs−4
@@ -50,10 +50,6 @@ import Database.PostgreSQL.Simple.Compat (toByteString)
5050data Null = Null
5151 deriving (Read, Show, Typeable)
5252
53−instance Eq Null where
54− _ == _ = False
55− _ /= _ = False
56−
5753-- | A placeholder for the PostgreSQL @DEFAULT@ value.
5854data Default = Default
5955 deriving (Read, Show, Typeable)