From 97a1088581532aafcb20c43995671c7ea295652a Mon Sep 17 00:00:00 2001 From: "Scott R. Parish" Date: Mon, 1 Mar 2010 08:15:40 -0600 Subject: [PATCH] fix trailing whitespace in tutorial --- tutorial.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorial.md b/tutorial.md index 09e9308..3553e14 100644 --- a/tutorial.md +++ b/tutorial.md @@ -19,7 +19,7 @@ Installing Haskell Bindings --------------------------- From Source: - + > $ git clone git://github.com/srp/mongoDB.git > $ cd mongoDB @@ -44,7 +44,7 @@ Start a MongoDB instance for us to play with: Start up a haskell repl: -> $ ghci +> $ ghci Now We'll need to bring in the MongoDB/BSON bindings: @@ -52,7 +52,7 @@ Now We'll need to bring in the MongoDB/BSON bindings: > import Database.MongoDB.BSON -Making A Connection +Making A Connection ------------------- Open up a connection to your DB instance, using the standard port: @@ -68,7 +68,7 @@ Getting the Databases > dbs <- databaseNames con > let testdb = head dbs - + Getting the Collections ----------------------- @@ -84,7 +84,7 @@ BSON representation in Haskell Inserting a Document ------------------- -> insert con testcol (toBsonDoc [("author", toBson "Mike"), ("text", toBson "My first Blog post!"), ("tags", toBson ["mongodb", "python","pymongo"])]) +> insert con testcol (toBsonDoc [("author", toBson "Mike"), ("text", toBson "My first Blog post!"), ("tags", toBson ["mongodb", "python","pymongo"])]) Getting a single document with findOne