Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SearchTerm Source #
Instances
Eq SearchTerm Source # | |
Defined in Unused.Types (==) :: SearchTerm -> SearchTerm -> Bool # (/=) :: SearchTerm -> SearchTerm -> Bool # | |
Show SearchTerm Source # | |
Defined in Unused.Types showsPrec :: Int -> SearchTerm -> ShowS # show :: SearchTerm -> String # showList :: [SearchTerm] -> ShowS # |
Instances
Eq TermMatch Source # | |
Show TermMatch Source # | |
Generic TermMatch Source # | |
FromRecord TermMatch Source # | |
Defined in Unused.Types 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.9.0.0-EMatHOatDcD9YeDQbE9yQI" 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 #
Instances
Eq TermResults Source # | |
Defined in Unused.Types (==) :: TermResults -> TermResults -> Bool # (/=) :: TermResults -> TermResults -> Bool # | |
Show TermResults Source # | |
Defined in Unused.Types showsPrec :: Int -> TermResults -> ShowS # show :: TermResults -> String # showList :: [TermResults] -> ShowS # |
type TermMatchSet = Map String TermResults Source #
data RemovalLikelihood Source #
Instances
Eq RemovalLikelihood Source # | |
Defined in Unused.Types (==) :: RemovalLikelihood -> RemovalLikelihood -> Bool # (/=) :: RemovalLikelihood -> RemovalLikelihood -> Bool # | |
Show RemovalLikelihood Source # | |
Defined in Unused.Types showsPrec :: Int -> RemovalLikelihood -> ShowS # show :: RemovalLikelihood -> String # showList :: [RemovalLikelihood] -> ShowS # |
data Occurrences Source #
Occurrences | |
|
Instances
Eq Occurrences Source # | |
Defined in Unused.Types (==) :: Occurrences -> Occurrences -> Bool # (/=) :: Occurrences -> Occurrences -> Bool # | |
Show Occurrences Source # | |
Defined in Unused.Types showsPrec :: Int -> Occurrences -> ShowS # show :: Occurrences -> String # showList :: [Occurrences] -> ShowS # |
newtype GitContext Source #
Instances
Eq GitContext Source # | |
Defined in Unused.Types (==) :: GitContext -> GitContext -> Bool # (/=) :: GitContext -> GitContext -> Bool # | |
Show GitContext Source # | |
Defined in Unused.Types 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 #