git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #188 from bitemyapp/master

Added Eq instance for SqlError

commit297d2d697f3a6bb3b7a944ebda34413e1c20dce7 authorLeon P Smith <leon.p.smith+github@gmail.com> dateWed 1 Jun 2016, 16:36 (10 years ago) parente81c5751506168
1 file changed+1−1
src/Database/PostgreSQL/Simple/Internal.hs+1−1
src/Database/PostgreSQL/Simple/Internal.hs+1−1
@@ -86,7 +86,7 @@ data SqlError = SqlError {
8686 , sqlErrorMsg :: ByteString
8787 , sqlErrorDetail :: ByteString
8888 , sqlErrorHint :: ByteString
89− } deriving (Show, Typeable)
89+ } deriving (Eq, Show, Typeable)
9090
9191fatalError :: ByteString -> SqlError
9292fatalError msg = SqlError "" FatalError msg "" ""