summaryrefslogtreecommitdiffstats
path: root/test5.hs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-04-30 15:24:03 +0200
committertv <tv@krebsco.de>2017-04-30 15:46:32 +0200
commit5f78ec96b34fe96b933d079776a24f2b23e767a3 (patch)
tree078335cbb1a04025d30bdd12bdeec14bca2b964c /test5.hs
parent936ad5f12422e3d124ade90fae78f9ed0427fc7d (diff)
Notmuch.search: support passing additional args
Diffstat (limited to 'test5.hs')
-rw-r--r--test5.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test5.hs b/test5.hs
index d2732cf..4e7cccb 100644
--- a/test5.hs
+++ b/test5.hs
@@ -83,7 +83,7 @@ data State = State
initState :: String -> IO State
initState query = do
- r_ <- either error id <$> Notmuch.search query
+ r_ <- either error id <$> Notmuch.search [query]
return State
{ cursor = Z.fromTree $ fromSearchResults query r_