[Haskell-cafe] Online Real World Haskell, problem with Sqlite3 chapters

david48 dav.vire+haskell at gmail.com
Fri Sep 5 06:45:01 EDT 2008

In the online version of Real world Haskell, there's a problem with
examples in ghci when the module Database.HDBC.Sqlite3 is imported.
It goes on like this for all of chapter 21 and 22.

Example : ( note: this is not me trying to reproduce the examples,
it's an actual copy & paste from the site url
http://book.realworldhaskell.org/read/using-databases.html )

ghci> :module Database.HDBC Database.HDBC.Sqlite3
Could not find module `Database.HDBC.Sqlite3':
  Use -v to see a list of the files searched for.
ghci> conn <- connectSqlite3 "test1.db"

<interactive>:1:8: Not in scope: `connectSqlite3'
ghci> :type conn

<interactive>:1:0: Not in scope: `conn'
ghci> disconnect conn

<interactive>:1:0: Not in scope: `disconnect'

<interactive>:1:11: Not in scope: `conn'

More information about the Haskell-Cafe mailing list