git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #120 from haskellari/remove-eq-null
27a1345Oleg Grenrus
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+
1### Version 0.6.5.1 (2023-07-09)
5### Version 0.6.5.1 (2023-07-09)
2
6
3 * Support `aeson-2.2.0.0`
7 * Support `aeson-2.2.0.0`
src/Database/PostgreSQL/Simple/Types.hs−4
@@ -50,10 +50,6 @@ import Database.PostgreSQL.Simple.Compat (toByteString)
50data Null = Null
50data Null = Null
51 deriving (Read, Show, Typeable)
51 deriving (Read, Show, Typeable)
52
52
53−instance Eq Null where
54− _ == _ = False
55− _ /= _ = False
56−
57-- | A placeholder for the PostgreSQL @DEFAULT@ value.
53-- | A placeholder for the PostgreSQL @DEFAULT@ value.
58data Default = Default
54data Default = Default
59 deriving (Read, Show, Typeable)
55 deriving (Read, Show, Typeable)