[Haskell-cafe] HDBC PostgreSQL

John Goerzen jgoerzen at complete.org
Fri Oct 9 17:58:04 EDT 2009

Patrick Brannan wrote:
> Prelude> module HDBC HDBC.PostgreSQL
> Now I would think that the line "Loading package
> HDBC-postgresql- ... linking ... done." means that the module
> is installed correctly, but I still can't execute the :module
> statement.
> Does anyone have any ideas about where I should start? It's probably
> something stupid, but I'm a little worn out on searching.

That's because you're confusing package names with module names.

I suspect you meant

:m Database.HDBC Database.HDBC.PostgreSQL

The API docs on Hackage will list the modules that any package provides.

-- John

More information about the Haskell-Cafe mailing list