notmuch-0.1.0.1: Haskell binding to Notmuch, the mail indexer

Safe HaskellNone
LanguageHaskell2010

Notmuch.Search

Description

libnotmuch search expressions. See also notmuch-search-terms(7).

Synopsis

Documentation

data SearchTerm Source #

Search expression. Use Bare if you want to use a query string as-is (see also notmuch-search-terms(7)).

Use show to stringify a SearchTerm.

Instances

Show SearchTerm Source #

Stringify a query expression.

Generic SearchTerm Source # 

Associated Types

type Rep SearchTerm :: * -> * #

NFData SearchTerm Source # 

Methods

rnf :: SearchTerm -> () #

type Rep SearchTerm Source # 
type Rep SearchTerm = D1 * (MetaData "SearchTerm" "Notmuch.Search" "notmuch-0.1.0.1-inplace" False) ((:+:) * ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "FreeForm" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) (C1 * (MetaCons "From" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) ((:+:) * (C1 * (MetaCons "To" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) (C1 * (MetaCons "Subject" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))))) ((:+:) * ((:+:) * (C1 * (MetaCons "Attachment" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) (C1 * (MetaCons "Tag" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Tag)))) ((:+:) * (C1 * (MetaCons "Id" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * MessageId))) (C1 * (MetaCons "Thread" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ThreadId)))))) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "Folder" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) (C1 * (MetaCons "Path" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) ((:+:) * (C1 * (MetaCons "Date" PrefixI False) ((:*:) * (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) (C1 * (MetaCons "Asterisk" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "And" PrefixI False) ((:*:) * (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm)) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm)))) (C1 * (MetaCons "Or" PrefixI False) ((:*:) * (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm)) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm))))) ((:+:) * (C1 * (MetaCons "Xor" PrefixI False) ((:*:) * (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm)) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm)))) ((:+:) * (C1 * (MetaCons "Not" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * SearchTerm))) (C1 * (MetaCons "Bare" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))))))))