david@pcdavid2:~/projets/haskell/caimonitor$ ghci -Wall Bdd.hs
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
[2 of 2] Compiling Bdd ( Bdd.hs, interpreted )
Bdd.hs:27:12:
Couldn't match expected type `conn'
against inferred type `HDBC-mysql-0.6:Database.HDBC.MySQL.Connection.Connection'
`conn' is a rigid type variable bound by
the type signature for `connecter' at Bdd.hs:26:25
Expected type: IO conn
Inferred type: IO
HDBC-mysql-0.6:Database.HDBC.MySQL.Connection.Connection
In the expression: connectMySQL mysqlInfo
In the definition of `connecter':
connecter = connectMySQL mysqlInfo
I looked at Connection.hsc from the library and the Connection type defined there isn't exported.