Reputation: 21
I've been experimenting with mongodb and haskell. I installed the haskell driver for mongodb per https://github.com/srp/mongoDB/blob/master/tutorial.md. I took the "From Hackage using cabal" route and everything seems to build successfully. I start the haskell repl, ghci, and do...
import Data.MongoDB
and get...
Could not find module `Data.MongoDB'
Has anyone seen this problem before? Did I miss a step?
Upvotes: 0
Views: 280
Reputation: 47402
You want the line
import Database.MongoDB
instead of
import Data.MongoDB
Upvotes: 4