renamed docs/ to doc/
This commit is contained in:
parent
b52854a457
commit
23fdaee494
7 changed files with 1 additions and 5 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +0,0 @@
|
|||
*~
|
||||
*.o
|
||||
*.hi
|
||||
dist/
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue