On Mon, Jun 29, 2009 at 3:41 PM, Daniel Fischer<daniel.is.fisc...@web.de> wrote: > Am Montag 29 Juni 2009 10:47:05 schrieb david48: >> connecter :: IConnection conn => conn >> connecter = connectMySQL mysqlInfo >> >> And even though I suspect that's the correct type, it fails too : > > No, that's too general a type, that says "whatever inctsnce of IConnection > you desire, I
Ah, got that now. > can deliver it", but connecter can deliver only one type (and there's an IO > missing). Wow I don't know how I managed to leave out the IO part of the signature since it's there in my source and I thought I copy-pasted. For now I omit the type signature. Thanks ! David. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe