Maintainer | hapytexeu+gh@gmail.com |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
See Data.Char.Math for further documentation.
Synopsis
- digitSansSerif :: Emphasis -> Char -> Maybe Char
- digitSansSerif' :: Emphasis -> Char -> Char
- digitSansSerifRegular :: Char -> Maybe Char
- digitSansSerifRegular' :: Char -> Char
- digitSansSerifBold :: Char -> Maybe Char
- digitSansSerifBold' :: Char -> Char
- intToDigitSansSerif :: Emphasis -> Int -> Maybe Char
- intToDigitSansSerif' :: Emphasis -> Int -> Char
- intToDigitSansSerifRegular :: Int -> Maybe Char
- intToDigitSansSerifRegular' :: Int -> Char
- intToDigitSansSerifBold :: Int -> Maybe Char
- intToDigitSansSerifBold' :: Int -> Char
Character conversion
:: Emphasis | The given emphasis style. |
-> Char | The given character to convert. |
-> Char | The corresponding symbol in sans-serifs for the given emphasis style, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
with a given Emphasis
in sans-serif style. The result for characters outside this
range is unspecified.
digitSansSerifRegular' Source #
:: Char | The given character to convert. |
-> Char | The corresponding symbol in sans-serifs not in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a non-bold sans-serif style. The result for characters outside this range is
unspecified.
:: Char | The given character to convert. |
-> Char | The corresponding symbol in sans-serifs in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a bold sans-serif style. The result for characters outside this range is
unspecified.
Int to digit characters
:: Emphasis | The given emphasis style. |
-> Int | The given number to convert. |
-> Char | The corresponding symbol in sans-serifs in the given emphasis style, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
with a given Emphasis
in sans-serif style. The result for numbers outside this
range is unspecified.
intToDigitSansSerifRegular' Source #
:: Int | The given number to convert. |
-> Char | The corresponding symbol in sans-serifs not in bold, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
in a non-bold sans-serif style. The result for numbers outside this range is
unspecified.
intToDigitSansSerifBold' Source #
:: Int | The given number to convert. |
-> Char | The corresponding symbol in sans-serifs in bold, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
in a bold sans-serif style. The result for numbers outside this range is
unspecified.