[Haskell-cafe] HDBC-odbc 1.1.4.4 fixes Windows linking problems

Greg Matheson greg at momotaro.chinmin.edu.tw
Tue Jun 3 23:05:41 EDT 2008


On Tue, 03 Jun 2008, John Goerzen wrote:

> Hi,

> HDBC-odbc version 1.1.4.4 has been uploaded to Hackage.  It fixes the
> problems some here have encountered regarding ODBC crashes or other
> similar odd behavior on Windows. 

I'm getting a 'Parse error in pattern' error.

C:\Documents and Settings\Administrator>ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> :m Database.HDBC.ODBC Database.HDBC
Prelude Database.HDBC Database.HDBC.ODBC> conn <- connectODBC "dictation"
Loading package array-0.1.0.0 ... linking ... done.
Loading package containers-0.1.0.1 ... linking ... done.
Loading package bytestring-0.9.0.1 ... linking ... done.
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
Loading package mtl-1.1.0.0 ... linking ... done.
Loading package HDBC-1.1.4 ... linking ... done.
Loading package HDBC-odbc-1.1.4.4 ... linking ... done.
*** Exception: (unknown)
Prelude Database.HDBC Database.HDBC.ODBC> handleSqlError $ conn <- connectODBC "
dictation"
<interactive>:1:0: Parse error in pattern



-- 
Dr Bean                      If there is one thing we learn from the 
                             study of language learning, it is that
                             language learners learn more than we learn.  


More information about the Haskell-Cafe mailing list