Safe Haskell | Safe-Inferred |
---|
Documentation
isSubscriptDigit :: Char -> BoolSource
Is the character one of the subscripts '₀
?
@-@
₉'
toSubscriptDigit :: Char -> CharSource
Converts '0'@-@'9'
to '₀
.
@-@
₉'
Precondition: The digit needs to be in range.
fromSubscriptDigit :: Char -> CharSource
Converts '₀
to @-@
₉''0'@-@'9'
.
Precondition: The digit needs to be in range.
nextSuffix :: Suffix -> SuffixSource
suffixView :: String -> (String, Suffix)Source