user2145191
user2145191

Reputation: 21

mongodb haskell driver installation

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

Answers (1)

Chris Taylor
Chris Taylor

Reputation: 47402

You want the line

import Database.MongoDB

instead of

import Data.MongoDB

Upvotes: 4

Related Questions