Agda-2.3.2.1: A dependently typed functional programming language and proof assistant

Safe HaskellSafe-Inferred

Agda.Utils.Suffix

Synopsis

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.