isCovered
:: (Show a, ContextKey a, CaseMap b) => a -> (b a) CoverInfo -> Bool
Check if all branches of a case expression are covered |
covered
:: (Show a, ContextKey a, CaseMap b) => a -> (b a) CoverInfo -> CoveredCs
Get the covered constructors / constraints of a case expression |
cover
:: (ContextKey a, CaseMap b) => a -> BranchNr -> CoveredCs -> (b a) CoverInfo -> (b a) CoverInfo
Cover the given branch for a case expression in a case map |
coverAll
:: (ContextKey a, CaseMap b) => a -> (b a) CoverInfo -> (b a) CoverInfo
Cover all branches of a case expression |
A map of maps
Constructors:
Check if all branches of a case expression are covered |
Get the covered constructors / constraints of a case expression |
Cover the given branch for a case expression in a case map |
Cover all branches of a case expression |