| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Scrappy.Grep.Output
Synopsis
- formatResult :: OutputFormat -> MatchResult -> String
- formatResults :: OutputFormat -> [MatchResult] -> String
- data OutputFormat
Documentation
formatResult :: OutputFormat -> MatchResult -> String Source #
Format a single match result
formatResults :: OutputFormat -> [MatchResult] -> String Source #
Format multiple results
data OutputFormat Source #
Constructors
| FormatGrep | |
| FormatVerbose | |
| FormatJSON | |
| FormatCount |
Instances
| Show OutputFormat Source # | |
Defined in Scrappy.Grep.Output Methods showsPrec :: Int -> OutputFormat -> ShowS # show :: OutputFormat -> String # showList :: [OutputFormat] -> ShowS # | |
| Eq OutputFormat Source # | |
Defined in Scrappy.Grep.Output | |