Do explicit import in Example.hs
This will be helpful for the people who is new to this library.
This commit is contained in:
parent
16e4fdce26
commit
bccb3bd159
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
{-# LANGUAGE OverloadedStrings, ExtendedDefaultRules #-}
|
{-# LANGUAGE OverloadedStrings, ExtendedDefaultRules #-}
|
||||||
|
|
||||||
import Database.MongoDB
|
import Database.MongoDB (Action, Document, Document, Value, access,
|
||||||
|
close, connect, delete, exclude, find,
|
||||||
|
host, insertMany, master, project, rest,
|
||||||
|
runIOE, select, sort, (=:))
|
||||||
import Control.Monad.Trans (liftIO)
|
import Control.Monad.Trans (liftIO)
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
|
Loading…
Reference in a new issue