mirror of
https://github.com/BinRoot/Haskell-Data-Analysis-Cookbook.git
synced 2024-10-04 01:37:39 +03:00
Adapted code to current version of Database.MongoDB
This commit is contained in:
parent
0702130a0f
commit
7747fd2c2c
@ -5,7 +5,7 @@ import Database.MongoDB
|
||||
main :: IO ()
|
||||
main = do
|
||||
let db = "test"
|
||||
pipe <- runIOE $ connect (host "127.0.0.1")
|
||||
pipe <- connect (host "127.0.0.1")
|
||||
e <- access pipe master db run
|
||||
close pipe
|
||||
print e
|
||||
|
Loading…
Reference in New Issue
Block a user