Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ParsedSource
- parseModule :: FilePath -> IO (Either ParseError ParsedSource)
- type Query = [Char]
- data SearchResult
- queryModule :: Query -> ParsedSource -> [SearchResult]
- data PrintOpts = PrintOpts {}
- defaultPrintOpts :: PrintOpts
- data ColourOpts
- printResults :: PrintOpts -> [SearchResult] -> IO ()
- printSearchResult :: PrintOpts -> SearchResult -> [Char]
- printSearchResultLocation :: PrintOpts -> SearchResult -> [Char]
Parsing
data ParsedSource Source #
parseModule :: FilePath -> IO (Either ParseError ParsedSource) Source #
Searching
data SearchResult Source #
queryModule :: Query -> ParsedSource -> [SearchResult] Source #
Printing
data ColourOpts Source #
printResults :: PrintOpts -> [SearchResult] -> IO () Source #
printSearchResult :: PrintOpts -> SearchResult -> [Char] Source #
printSearchResultLocation :: PrintOpts -> SearchResult -> [Char] Source #