Neuron.Zettelkasten.Query
Description
Queries to the Zettel store
data Query Source #
Constructors
Defined in Neuron.Zettelkasten.Query
Methods
(==) :: Query -> Query -> Bool #
(/=) :: Query -> Query -> Bool #
showsPrec :: Int -> Query -> ShowS #
show :: Query -> String #
showList :: [Query] -> ShowS #
data Match Source #
Fields
toJSON :: Match -> Value #
toEncoding :: Match -> Encoding #
toJSONList :: [Match] -> Value #
toEncodingList :: [Match] -> Encoding #
matchQuery :: Match -> Query -> Bool Source #
extractMatch :: Zettel -> Maybe Match Source #
runQuery :: ZettelStore -> [Query] -> [Match] Source #