diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 54ae4a1..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -*~ -*.o -*.hi -dist/ diff --git a/Database/MongoDB/Query.hs b/Database/MongoDB/Query.hs index d04d8a3..cdfc8a1 100644 --- a/Database/MongoDB/Query.hs +++ b/Database/MongoDB/Query.hs @@ -371,7 +371,7 @@ findOne q = do return (listToMaybe docs) fetch :: (MonadIO m) => Query -> Action m Document --- ^ Same as 'findOne' except throw 'DocNotFound' if no match +-- ^ Same as 'findOne' except throw 'DocNotFound' if none match fetch q = findOne q >>= maybe (throwError $ DocNotFound $ selection q) return explain :: (MonadIO m) => Query -> Action m Document diff --git a/docs/Example.hs b/doc/Example.hs similarity index 100% rename from docs/Example.hs rename to doc/Example.hs diff --git a/docs/TODO b/doc/TODO similarity index 100% rename from docs/TODO rename to doc/TODO diff --git a/docs/V0.6-Redesign.md b/doc/V0.6-Redesign.md similarity index 100% rename from docs/V0.6-Redesign.md rename to doc/V0.6-Redesign.md diff --git a/docs/map-reduce-example.md b/doc/map-reduce-example.md similarity index 100% rename from docs/map-reduce-example.md rename to doc/map-reduce-example.md diff --git a/docs/tutorial.md b/doc/tutorial.md similarity index 100% rename from docs/tutorial.md rename to doc/tutorial.md