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'
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to