From 1afc7bfab5a9a80b316e12d25eb08cae4917e6d8 Mon Sep 17 00:00:00 2001 From: Carlos Saltos Date: Sun, 2 May 2021 01:51:39 +0300 Subject: [PATCH] Adding simple set for BSON to work on ghci but also from scripts --- doc/tutorial.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index ca1c19d..3ae3427 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -12,9 +12,10 @@ Start a haskell session: $ ghci > :set prompt "> " -Import the MongoDB driver library, and set OverloadedStrings so literal strings are converted to UTF-8 automatically. +Import the MongoDB driver library, and set OverloadedStrings so literal strings are converted to UTF-8 automatically and ExtendedDefaultRules for using BSON fields with basic types. > :set -XOverloadedStrings + > :set -XExtendedDefaultRules > import Database.MongoDB ### Connecting