From 2186eeeafeadc173b027acb727ac1437faf51c32 Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 10 Jan 2015 18:33:00 +0800 Subject: [PATCH] Update tutorial.md Data.CompactString is no longer needed in ghci. `runIOE` has been deprecated. Everything now works without runIOE. --- doc/tutorial.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index f0cdc5b..049aa51 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -16,13 +16,12 @@ Import the MongoDB driver library, and set OverloadedStrings so literal strings > :set -XOverloadedStrings > import Database.MongoDB - > import Data.CompactString () -- only needed when using ghci ### Connecting Establish a connection to your local Mongo server on the standard port (27017): - > pipe <- runIOE $ connect $ host "127.0.0.1" + > pipe <- connect $ host "127.0.0.1" A host with non-standard port would look like `Host "127.0.0.1" (PortNumber 27001)`.