[Haskell-cafe] HDBC PostgreSQL
Patrick Brannan
brannanster at gmail.com
Fri Oct 9 22:40:32 EDT 2009
No, I was running the following:
:module Database.HDBC Database.HDBC.PostgreSQL
and the reply was:
module `Database.HDBC.PostgreSQL' is not loaded
Not sure where to go from here. I'll keep reading.
On Fri, Oct 9, 2009 at 4:58 PM, John Goerzen <jgoerzen at complete.org> wrote:
> Patrick Brannan wrote:
>> Prelude> module HDBC HDBC.PostgreSQL
>>
>> Now I would think that the line "Loading package
>> HDBC-postgresql-2.1.0.0 ... 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