Safe Haskell | None |
---|---|
Language | Haskell98 |
Filters for psc-ide commands
- data Filter
- moduleFilter :: [ModuleIdent] -> Filter
- prefixFilter :: Text -> Filter
- equalityFilter :: Text -> Filter
- dependencyFilter :: [ModuleIdent] -> Filter
- runFilter :: Filter -> [Module] -> [Module]
- applyFilters :: [Filter] -> [Module] -> [Module]
Documentation
moduleFilter :: [ModuleIdent] -> Filter Source
Only keeps the given Modules
prefixFilter :: Text -> Filter Source
Only keeps Identifiers that start with the given prefix
equalityFilter :: Text -> Filter Source
Only keeps Identifiers that are equal to the search string
dependencyFilter :: [ModuleIdent] -> Filter Source
Only keeps the given Modules and all of their dependencies
applyFilters :: [Filter] -> [Module] -> [Module] Source