git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #206 from supki/show-eq-notification

Derive Show and Eq instances for Notification

commitbf134aa3b590e3154de2083c7c692525330a0f30 authorLeon P Smith <leon.p.smith+github@gmail.com> dateFri 31 Mar 2017, 16:03 (10 years ago) parent5d5765117100ab
1 file changed+1−1
src/Database/PostgreSQL/Simple/Notification.hs+1−1
src/Database/PostgreSQL/Simple/Notification.hs+1−1
@@ -58,7 +58,7 @@ data Notification = Notification
5858 { notificationPid :: {-# UNPACK #-} !CPid
5959 , notificationChannel :: {-# UNPACK #-} !B.ByteString
6060 , notificationData :: {-# UNPACK #-} !B.ByteString
61− }
61+ } deriving (Show, Eq)
6262
6363convertNotice :: PQ.Notify -> Notification
6464convertNotice PQ.Notify{..}