Portability | portable |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Safe Haskell | Safe-Infered |
- data Exceptions
- addException :: String -> Exceptions -> Exceptions
- lookupException :: String -> Exceptions -> Maybe [Int]
- scoreException :: String -> [Int]
- parseExceptions :: String -> Exceptions
Pattern file support
data Exceptions Source
Show Exceptions | |
Monoid Exceptions | Exceptions permit an exact list of hyphenation locations but merging exceptions is used to restrict the set when both contain the same word |
addException :: String -> Exceptions -> ExceptionsSource
add an exception to the exception table. if it is already present, this will restrict the set of hyphenations to the intersection of the set provided and the set present.
lookupException :: String -> Exceptions -> Maybe [Int]Source
scoreException :: String -> [Int]Source