Safe Haskell | Safe-Infered |
---|
- data OtConstraint
- type OtRanking = [[OtConstraint]]
- type GetTraces = Text -> [Text]
- type OtResult x = (Int, x, [OtViolation])
- data OtViolation
- data RankedOtConstraint = RankedOtConstraint Int OtConstraint
- rankResults :: GetTraces -> (a -> TagDerivation) -> OtRanking -> [a] -> [OtResult a]
- otWarnings :: Macros -> OtRanking -> [OtViolation] -> [Text]
- prettyViolations :: GetTraces -> Bool -> [OtViolation] -> Text
- prettyRank :: Int -> Text
Input
data OtConstraint
type OtRanking = [[OtConstraint]]
Output
type OtResult x = (Int, x, [OtViolation])
data OtViolation
data RankedOtConstraint
rankResults :: GetTraces -> (a -> TagDerivation) -> OtRanking -> [a] -> [OtResult a]
otWarnings :: Macros -> OtRanking -> [OtViolation] -> [Text]
Display
prettyViolations :: GetTraces -> Bool -> [OtViolation] -> Text
prettyRank :: Int -> Text