[Haskell-cafe] haskelldb basic documentation needed

Immanuel Normann immanuel.normann at googlemail.com
Tue Jan 15 12:53:10 EST 2008


with the release update haskelldb-0.9 -> haskelldb-0.10 several things have
changed. Unfortunately the API documentation does not give enough
information in generall. Is there any additional uptodate documentation
around?
In particular the fundamental function "connect" hast a new signature:
*connect* :: (forall m a .
MonadIO<http://hackage.haskell.org/packages/archive/mtl/1.1.0.0/doc/html/Control-Monad-Trans.html#t%3AMonadIO>m
=> [(
String<http://hackage.haskell.org/packages/archive/base/3.0.0.0/doc/html/Data-Char.html#t%3AString>,
String<http://hackage.haskell.org/packages/archive/base/3.0.0.0/doc/html/Data-Char.html#t%3AString>)]
-> (Database<file:///usr/share/doc/haskelldb-0.10/Database-HaskellDB-Database.html#t%3ADatabase>->
m a) -> m a)
I don't know what pairs of strings this function needs. The API description
is to unspecific:

The connect<file:///usr/share/doc/haskelldb-0.10/Database-HaskellDB-DriverAPI.html#v%3Aconnect>function
takes some driver specific name, value pairs use to setup the
> database connection, and a database action to run.


What are the specific name value pairs needed (for a connection to a mysql
db )?
Immanuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080115/6f9740ec/attachment.htm


More information about the Haskell-Cafe mailing list