| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Unused.Types
Documentation
data SearchTerm Source #
Constructors
| OriginalTerm String | |
| AliasTerm String String |
Instances
| Eq SearchTerm Source # | |
Defined in Unused.Types | |
| Show SearchTerm Source # | |
Defined in Unused.Types Methods showsPrec :: Int -> SearchTerm -> ShowS # show :: SearchTerm -> String # showList :: [SearchTerm] -> ShowS # | |
Constructors
| TermMatch | |
Instances
| Eq TermMatch Source # | |
| Show TermMatch Source # | |
| Generic TermMatch Source # | |
| FromRecord TermMatch Source # | |
Defined in Unused.Types Methods parseRecord :: Record -> Parser TermMatch # | |
| ToRecord TermMatch Source # | |
Defined in Unused.Types | |
| type Rep TermMatch Source # | |
Defined in Unused.Types type Rep TermMatch = D1 (MetaData "TermMatch" "Unused.Types" "unused-0.10.0.0-5dgsWiumfcyH6LbVjETwDE" False) (C1 (MetaCons "TermMatch" PrefixI True) ((S1 (MetaSel (Just "tmTerm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "tmPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "tmAlias") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String)) :*: S1 (MetaSel (Just "tmOccurrences") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) | |
data TermResults Source #
Constructors
| TermResults | |
Fields
| |
Instances
| Eq TermResults Source # | |
Defined in Unused.Types | |
| Show TermResults Source # | |
Defined in Unused.Types Methods showsPrec :: Int -> TermResults -> ShowS # show :: TermResults -> String # showList :: [TermResults] -> ShowS # | |
type TermMatchSet = Map String TermResults Source #
data RemovalLikelihood Source #
Constructors
| High | |
| Medium | |
| Low | |
| Unknown | |
| NotCalculated |
Instances
| Eq RemovalLikelihood Source # | |
Defined in Unused.Types Methods (==) :: RemovalLikelihood -> RemovalLikelihood -> Bool # (/=) :: RemovalLikelihood -> RemovalLikelihood -> Bool # | |
| Show RemovalLikelihood Source # | |
Defined in Unused.Types Methods showsPrec :: Int -> RemovalLikelihood -> ShowS # show :: RemovalLikelihood -> String # showList :: [RemovalLikelihood] -> ShowS # | |
Constructors
| Removal | |
Fields | |
data Occurrences Source #
Constructors
| Occurrences | |
Fields
| |
Instances
| Eq Occurrences Source # | |
Defined in Unused.Types | |
| Show Occurrences Source # | |
Defined in Unused.Types Methods showsPrec :: Int -> Occurrences -> ShowS # show :: Occurrences -> String # showList :: [Occurrences] -> ShowS # | |
newtype GitContext Source #
Constructors
| GitContext | |
Instances
| Eq GitContext Source # | |
Defined in Unused.Types | |
| Show GitContext Source # | |
Defined in Unused.Types Methods showsPrec :: Int -> GitContext -> ShowS # show :: GitContext -> String # showList :: [GitContext] -> ShowS # | |
resultsFromMatches :: [TermMatch] -> TermResults Source #
tmDisplayTerm :: TermMatch -> String Source #
totalFileCount :: TermResults -> Int Source #
appOccurrenceCount :: TermResults -> Int Source #
resultAliases :: TermResults -> [String] Source #