renamed docs/ to doc/

This commit is contained in:
Tony Hannan 2011-07-08 22:33:52 -04:00
parent b52854a457
commit 23fdaee494
7 changed files with 1 additions and 5 deletions

4
.gitignore vendored
View file

@ -1,4 +0,0 @@
*~
*.o
*.hi
dist/

View file

@ -371,7 +371,7 @@ findOne q = do
return (listToMaybe docs) return (listToMaybe docs)
fetch :: (MonadIO m) => Query -> Action m Document 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 fetch q = findOne q >>= maybe (throwError $ DocNotFound $ selection q) return
explain :: (MonadIO m) => Query -> Action m Document explain :: (MonadIO m) => Query -> Action m Document

View file