Hello.

I've used the patch I submited and found a small bug in it. I had to add
one line more for it work properly. Another correction is to change from
a to _, avoiding an warning of defined but not used. The correct patch
is:

[EMAIL PROTECTED]:~/dados/texto/codigo/haskell/hdbc/Database/HDBC$ diff
-ruN Types.hs Types.2.hs
--- Types.hs    2006-11-22 09:43:30.000000000 -0200
+++ Types.2.hs  2006-11-24 08:05:29.000000000 -0200
@@ -363,6 +363,8 @@
     SqlEpochTime a == SqlEpochTime b = a == b
     SqlTimeDiff a == SqlTimeDiff b = a == b
     SqlNull == SqlNull = True
+    SqlNull == _ = False
+    _ == SqlNull = False
     a == b = ((fromSql a)::String) == ((fromSql b)::String)

 instance SqlType String where
[EMAIL PROTECTED]:~/dados/texto/codigo/haskell/hdbc/Database/HDBC$

-- 
malebria
Marco Túlio Gontijo e Silva
Correio (MSN): [EMAIL PROTECTED]
Jabber (GTalk): [EMAIL PROTECTED]
http://blogs.metareciclagem.org/malebria/
http://blogs.metareciclagem.org/sidnoacer/
Telefone: 33346720
Celular: 98116720
Endereço: Rua Paula Cândido, 257/201
          Gutierrez 30430-260
          Belo Horizonte/MG Brasil


Reply via email to