Maintainer | [email protected] |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
Data.Char.Math.Serif.Digit
Description
See Data.Char.Math for further documentation.
Synopsis
- digitSerif :: Emphasis -> Char -> Maybe Char
- digitSerif' :: Emphasis -> Char -> Char
- digitSerifRegular :: Char -> Maybe Char
- digitSerifRegular' :: Char -> Char
- digitSerifBold :: Char -> Maybe Char
- digitSerifBold' :: Char -> Char
- intToDigitSerif :: Emphasis -> Int -> Maybe Char
- intToDigitSerif' :: Emphasis -> Int -> Char
- intToDigitSerifRegular :: Int -> Maybe Char
- intToDigitSerifRegular' :: Int -> Char
- intToDigitSerifBold :: Int -> Maybe Char
- intToDigitSerifBold' :: Int -> Char
Characters conversion
Arguments
:: Emphasis | The given emphasis style. |
-> Char | The given character to convert. |
-> Char | The corresponding symbol in 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 serif style. The result for characters outside this
range is unspecified.
Arguments
:: Char | The given character to convert. |
-> Char | The corresponding symbol in serifs not in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a non-bold serif style. The result for characters outside this range is
unspecified.
Arguments
:: Char | The given character to convert. |
-> Char | The corresponding symbol in serifs in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a bold serif style. The result for characters outside this range is
unspecified.
Int to digit characters
Arguments
:: Emphasis | The given emphasis style. |
-> Int | The given number to convert. |
-> Char | The corresponding symbol in 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 serif style. The result for numbers outside this
range is unspecified.
intToDigitSerifRegular' Source #
Arguments
:: Int | The given number to convert. |
-> Char | The corresponding symbol in serifs not in bold, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
in a non-bold serif style. The result for numbers outside this range is
unspecified.