[Haskell-cafe] Type problem with simple takusen code (was: Trivialdatabase access in Haskell)

Paul Moore p.f.moore at gmail.com
Tue Dec 12 11:29:12 EST 2006

On 12/12/06, Bayley, Alistair <Alistair_Bayley at invescoperpetual.co.uk> wrote:
> ($) doesn't handle higher-ranked types, and overusing it can lead to
> these kinds of errors.

Thanks - not something I'd have ever found on my own.

Next one:

>runhaskell db.hs
can't load .so/.DLL for: sqlite3 (addDLL: unknown error)

This seems odd, as I'm not (intending to be) using sqlite here. If I
copy a sqlite3.dll onto my PATH (just to get by, it's quite possible
sqlite isn't set up right but I really don't care just now) I get past
this, but get

>runhaskell db.hs
C:\Program Files\Haskell\Takusen-0.6\ghc-6.6/HSTakusen-0.6.o: unknown
symbol `_PQconnectdb'
ghc.exe: unable to load package `Takusen-0.6'

No chance here - I don't have any sort of PostgreSQL software around.
I've no idea how it might have thought I did.

Can I somehow force PostgreSQL to be disabled? If I need to rebuild to
do so (grumble) then how do I uninstall the current version of takusen
(it's not in "Add/Remove programs" and "runhaskell Setup.hs" doesn't
seem to offer an uninstall option...

Thanks again,

More information about the Haskell-Cafe mailing list