Hoogle.Score.Type
- data Score
- data TypeCost
- data TextMatch
- = MatchExact
- | MatchPrefix
- | MatchSubstr
- textScore :: TextMatch -> Score
- typeScore :: [TypeCost] -> Score
- scoreCosts :: Score -> [TypeCost]
- cost :: TypeCost -> Int
Documentation
data Score
A score, representing how close a match is. Lower scores are better.
data TypeCost
data TextMatch
Constructors
MatchExact | |
MatchPrefix | |
MatchSubstr |
scoreCosts :: Score -> [TypeCost]