I'm running on mac os. I installed gcc 4.7 and ran cabal install mongoDB.
I can run the Example.hs just fine, but when I try to walk through the tutorial in GHCI, and I tried to import Data.CompactString (), I got the following error:
:
Could not find module `Data.CompactString'
It is not a module in the current program, or in any known package.
and when I tried to run
> access pipe master "test" allCollections
> I got the following error:
:7:20:
Couldn't match type `[Char]' with`Data.Text.Internal.Text'
Expected type: Database
Actual type: [Char]
In the third argument of `access', namely`"test"'
In the expression: access pipe master "test" allCollections
In an equation for `it':
it = access pipe master "test" allCollections
I'm running on mac os. I installed gcc 4.7 and ran cabal install mongoDB.
I can run the Example.hs just fine, but when I try to walk through the tutorial in GHCI, and I tried to import Data.CompactString (), I got the following error: