git.iko.soy/typeable/postgresql-simple
on master help sign in
Remove Eq Null instance
commita70a9b470b7774aef5947f2bc9c11403ad06ce21 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSun 30 Jul 2023, 22:27 (3 years ago) parent41d650d
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)