| Safe Haskell | Safe-Infered |
|---|
Penny.Cabin.Posts.Meta
- data VisibleNum
- data PostMeta
- filterBoxes :: [Token (Box LibertyMeta -> Bool)] -> [PostFilterFn] -> [Box LibertyMeta] -> Maybe [Box LibertyMeta]
- addMetadata :: ShowZeroBalances -> [Box LibertyMeta] -> [Box PostMeta]
Documentation
data VisibleNum Source
Instances
filterBoxes :: [Token (Box LibertyMeta -> Bool)] -> [PostFilterFn] -> [Box LibertyMeta] -> Maybe [Box LibertyMeta]Source
Takes a list of Box with LibertyMeta, and a list of tokens from the command line, and a list of post filters. Filters the list of Box and processes the post filter. Fails if the expression fails to produce a result.
addMetadata :: ShowZeroBalances -> [Box LibertyMeta] -> [Box PostMeta]Source
Applied to a list of Box that have already been filtered, returns a list of Box with posting metadata.