[Haskell-cafe] HDBC PostgreSQL
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-220.127.116.11 ... linking ... done." means that the module
> is installed correctly, but I still can't execute the :module
> 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.
More information about the Haskell-Cafe