Skip to content

Commit bf134aa

Browse files
authored
Merge pull request #206 from supki/show-eq-notification
Derive Show and Eq instances for Notification
2 parents 5d57651 + 17100ab commit bf134aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/PostgreSQL/Simple/Notification.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

6363
convertNotice :: PQ.Notify -> Notification
6464
convertNotice PQ.Notify{..}

0 commit comments

Comments
 (0)