I'm absolutely newbie to haskell, but I need to write a simple application to work with DB. I'm reading realworldhaskell book, chapter about using databases: http://book.realworldhaskell.org/read/using-databases.html. I've installed HDBC and HDBC-mysql and trying to run:
ghci> :module Database.HDBC Database.HDBC.MySQL
but receive error
attempting to use module ‘Database.HDBC.MySQL’ (./Database/HDBC/MySQL.hs) which is not loaded.
Does someone have some idea how to fix it and by what is is caused? Thanks!