diff options
Diffstat (limited to 'Notmuch.hs')
-rw-r--r-- | Notmuch.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -141,8 +141,8 @@ notmuchWithInput args input = do search :: [String] -> IO (Either String [SearchResult]) search args = - notmuch ("search" : "--format=json" : "--format-version=2" : args) - >>= return . eitherDecodeLenient' + eitherDecodeLenient' <$> + notmuch ("search" : "--format=json" : "--format-version=2" : args) data ReplyTo = ToAll | ToSender |