unicode-tricks-0.8.0.0: Functions to work with unicode blocks more convenient.

Maintainerhapytexeu+gh@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

Data.Char.Math

Contents

Description

This module aims to make it more convenient to transform mathematical characters to their double struck, fraktur, calligraphic, etc. equivalent.

Most of the characters are defined in the 1d400 unicode block.

Synopsis

Documentation

mathAlpha Source #

Arguments

:: FontStyle

The given FontStyle to use.

-> ItalicType

The given ItalicType to use.

-> Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with the given font style, in the given emphasis and in the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

mathAlpha' Source #

Arguments

:: FontStyle

The given FontStyle to use.

-> ItalicType

The given ItalicType to use.

-> Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted in the given FontStyle, depending on the given Emphasis in bold or not, and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol with the given font style, with a given emphasis and a given italics style. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

Serif mathematical alphabet symbols

serif Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, in the given emphasis and in the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serif' Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, depending on the given Emphasis in bold or not, and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol with serifs, with a given emphasis and a given italics style. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifNoBold Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, with no bold and in the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifNoBold' Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, not in bold and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol with serifs, not in bold and in a italics type. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifBold Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, in bold with the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifBold' Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, in bold and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol with serifs, in bold and in a italics type. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifNoItalic Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, in the given emphasis and not in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifNoItalic' Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, depending on the given Emphasis in bold or not, and not in italics.

Convert the given character to a mathematical symbol with serifs, with a given emphasis and not in italics. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifItalic Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, in the given emphasis and in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifItalic' Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, depending on the given Emphasis in bold or not, and in italics.

Convert the given character to a mathematical symbol with serifs, with a given emphasis and in italics. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifNoBoldNoItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, with no bold, and no italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifNoBoldNoItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, not in bold and not in italics.

Convert the given character to a mathematical symbol with serifs, with no bold and no italics. This maps characters to itself for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifBoldNoItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, in bold, and no italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifBoldNoItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, in bold and not in italics.

Convert the given character to a mathematical symbol with serifs, in bold not in italics. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifNoBoldItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, with no bold, and in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifNoBoldItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, not in bold and in italics.

Convert the given character to a mathematical symbol with serifs, with no bold and in italics. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

serifBoldItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol with serifs, in bold, and in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

serifBoldItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted with serifs, in bold and in italics.

Convert the given character to a mathematical symbol with serifs, with in bold and in italics. This maps characters an equivalent serif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

Sans-serif mathematical alphabet symbols

sansSerif Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, in the given emphasis and in the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerif' Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, depending on the given Emphasis in bold or not, and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol without serifs, with a given emphasis and a given italics style. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifNoBold Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, with no bold and in the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifNoBold' Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, not in bold and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol without serifs, not in bold and in a italics type. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifBold Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, in bold with the given italics type wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifBold' Source #

Arguments

:: ItalicType

The given ItalicType to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, in bold and depending on the given ItalicType in italics or not.

Convert the given character to a mathematical symbol without serifs, in bold and in a italics type. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifNoItalic Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, in the given emphasis and not in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifNoItalic' Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, depending on the given Emphasis in bold or not, and not in italics.

Convert the given character to a mathematical symbol without serifs, with a given emphasis and not in italics. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifItalic Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, in the given emphasis and in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifItalic' Source #

Arguments

:: Emphasis

The given Emphasis to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, depending on the given Emphasis in bold or not, and in italics.

Convert the given character to a mathematical symbol without serifs, with a given emphasis and in italics. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifNoBoldNoItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, with no bold, and no italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifNoBoldNoItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, not in bold and not in italics.

Convert the given character to a mathematical symbol without serifs, with no bold and no italics. This maps characters to itself for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifBoldNoItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, in bold, and no italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifBoldNoItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, in bold and not in italics.

Convert the given character to a mathematical symbol without serifs, in bold not in italics. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifNoBoldItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, with no bold, and in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifNoBoldItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, not in bold and in italics.

Convert the given character to a mathematical symbol without serifs, with no bold and in italics. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

sansSerifBoldItalic Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The equivalent character wrapped in a Just if in the valid range, Nothing otherwise.

Convert the given character to a mathematical symbol without serifs, in bold, and in italics wrapped in a Just. If the character is outside the A-Z and a-z range, Nothing is returned.

sansSerifBoldItalic' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted without serifs, in bold and in italics.

Convert the given character to a mathematical symbol without serifs, with in bold and in italics. This maps characters an equivalent sansSerif symbol for the A-Z and a-z range. For characters outside the range, the behavior is unspecified.

Digit characters

digit Source #

Arguments

:: FontStyle

The given font style.

-> Emphasis

The given emphasis style.

-> Char

The given character to convert.

-> Maybe Char

The corresponding symbol in serifs for the given emphasis style wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character with the given Emphasis in the given font style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digit' Source #

Arguments

:: FontStyle

The given font style.

-> Emphasis

The given emphasis style.

-> Char

The given character to convert.

-> Char

The corresponding symbol in the given font style 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 the given font style. The result for characters outside this range is unspecified.

digitSansSerif Source #

Arguments

:: Emphasis

The given emphasis style.

-> Char

The given character to convert.

-> Maybe Char

The corresponding symbol in sans-serifs for the given emphasis style wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character with the given Emphasis in sans-serif style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digitSansSerif' Source #

Arguments

:: 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.

digitSerif Source #

Arguments

:: Emphasis

The given emphasis style.

-> Char

The given character to convert.

-> Maybe Char

The corresponding symbol in serifs for the given emphasis style wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character with the given Emphasis in serif style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digitSerif' Source #

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.

digitSerifRegular Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The corresponding symbol in serifs not in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character in a non-bold serif style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digitSerifRegular' Source #

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.

digitSerifBold Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The corresponding symbol in serifs in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character in a bold serif style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digitSerifBold' Source #

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.

digitSansSerifRegular Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The corresponding symbol in sans-serifs not in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character in a non-bold sans-serif style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digitSansSerifRegular' Source #

Arguments

:: 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.

digitSansSerifBold Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The corresponding symbol in sans-serifs in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given digit character (0-9) to its corresponding character in a bold sans-serif style wrapped in a Just data constructor. For characters outside this range, Nothing is returned.

digitSansSerifBold' Source #

Arguments

:: 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.

digitMonospace Source #

Arguments

:: Char

The given digit character to convert.

-> Maybe Char

The corresponding symbol in monospace style wrapped in a Just, Nothing if the character is outside the range.

Converts the given digit (0-9) charcters to its equivalent in monospace style wrapped in a Just data constructor. Nothing for characters outside the range.

digitMonospace' Source #

Arguments

:: Char

The given digit character to convert.

-> Char

The corresponding character in monspace style. Unspecified outside the digit range.

Converts the given digit (0-9) charcters to its equivalent in monospace style. Unspecified result for characters outside the range.

digitDoubleStruck Source #

Arguments

:: Char

The given digit character to convert.

-> Maybe Char

The corresponding symbol in double-struck style wrapped in a Just, Nothing if the character is outside the range.

Converts the given digit (0-9) charcters to its equivalent in double-struck style wrapped in a Just data constructor. Nothing for characters outside the range.

digitDoubleStruck' Source #

Arguments

:: Char

The given digit character to convert.

-> Char

The corresponding character in double-struck style. Unspecified outside the digit range.

Converts the given digit (0-9) charcters to its equivalent in double-struck style. Unspecified result for characters outside the range.

Int to digit characters

intToDigitChar Source #

Arguments

:: FontStyle

The given font style.

-> Emphasis

The given emphasis style.

-> Int

The given number to convert.

-> Maybe Char

The corresponding symbol in the given font style in the given emphasis style wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character with the given Emphasis in the given FontStyle wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitChar' Source #

Arguments

:: FontStyle

The given font style.

-> Emphasis

The given emphasis style.

-> Int

The given number to convert.

-> Char

The corresponding symbol in sans-serifs in the given font style the given emphasis style, unspecified outside the the range.

Convert the given number (0-9) to its corresponding character with a given Emphasis in the given FontStyle. The result for numbers outside this range is unspecified.

intToDigitSerif Source #

Arguments

:: Emphasis

The given emphasis style.

-> Int

The given number to convert

-> Maybe Char

The corresponding symbol in serifs in the given emphasis style wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character with the given Emphasis in serif style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitSerif' Source #

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.

intToDigitSansSerif Source #

Arguments

:: Emphasis

The given emphasis style.

-> Int

The given number to convert

-> Maybe Char

The corresponding symbol in sans-serifs in the given emphasis style wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character with the given Emphasis in sans-serif style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitSansSerif' Source #

Arguments

:: 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.

intToDigitSerifRegular Source #

Arguments

:: Int

The given number to convert.

-> Maybe Char

The corresponding symbol in serifs not in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character in a non-bold serif style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

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.

intToDigitSerifBold Source #

Arguments

:: Int

The given number to convert.

-> Maybe Char

The corresponding symbol in serifs in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character in a bold serif style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitSerifBold' Source #

Arguments

:: Int

The given number to convert.

-> Char

The corresponding symbol in serifs in bold, unspecified outside the the range.

Convert the given number (0-9) to its corresponding character in a bold serif style. The result for numbers outside this range is unspecified.

intToDigitSansSerifRegular Source #

Arguments

:: Int

The given number to convert.

-> Maybe Char

The corresponding symbol in sans-serifs not in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character in a non-bold sans-serif style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitSansSerifRegular' Source #

Arguments

:: 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 #

Arguments

:: Int

The given number to convert.

-> Maybe Char

The corresponding symbol in sans-serifs in bold wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character in a bold sans-serif style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitSansSerifBold' Source #

Arguments

:: 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.

intToDigitMonospace Source #

Arguments

:: Int

The given number to convert.

-> Maybe Char

The corresponding symbol in monospace style wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character in monospace style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitMonospace' Source #

Arguments

:: Int

The given number to convert.

-> Char

The corresponding character in monspace style. Unspecified outside the digit range.

Convert the given number (0-9) to its corresponding character in monospace style. Unspecified result for numbers outside this range.

intToDigitDoubleStruck Source #

Arguments

:: Int

The given number to convert.

-> Maybe Char

The corresponding symbol in monospace style wrapped in a Just, Nothing if the character is outside the range.

Convert the given number (0-9) to its corresponding character in double-struck style wrapped in a Just data constructor. For numbers outside this range, Nothing is returned.

intToDigitDoubleStruck' Source #

Arguments

:: Int

The given number to convert.

-> Char

The corresponding character in double-struck style. Unspecified outside the digit range.

Convert the given number (0-9) to its corresponding character in double-struck style. Unspecified result for numbers outside this range.

Monospace symbols

monospace Source #

Arguments

:: Char

The given character to convert to a monspace symbol.

-> Maybe Char

The equivalent monospace character wrapped in a Just data constructor, Nothing if outside the alphanumerical range.

Convert the given character to its monospace equivalent for the alphabet and numerical range (A-Z, a-z, and 0-9) wrapped in a Just data constructor. For characters outside the range, Nothing is returned.

monospace' Source #

Arguments

:: Char

The given character to convert to a monospace symbol.

-> Char

The equivalent monospace symbol for the given character.

Convert the given character to its monospace equivalent for the alphabet and numerical range (A-Z, a-z, and 0-9). For characters outside the range, the result is unspecified.

Double struck symbols

doubleStruck Source #

Arguments

:: Char

The character to convert to a double struck symbol.

-> Maybe Char

The double struck symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent double stuck character.

Obtain the double struck symbol for the given character. The supported range of characters are the alphabet characters (A-Z, and a-z), and the numerical characters (0-9). The symbols are wrapped in the Just data constructor. For characters outside the range, Nothing is returned.

doubleStruck' Source #

Arguments

:: Char

The character to convert to a double struck symbol.

-> Char

The double struck symbol for the given character. If the character is not an ASCII alphanumerical character, the result is unspecified.

Obtain the double struck symbol for the given character. The supported range of characters are the alphabet character (A-Z, and a-z), and the numerical characters (0-9). For characters other than these, the behaviour is unspecified.

Script (or calligraphic symbols)

script Source #

Arguments

:: Emphasis

The given Emphasis style to use.

-> Char

The given character to convert.

-> Maybe Char

The calligraphy symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent calligraphy character.

Convert the given character to its script or calligraphic symbol wrapped in a Just data constructor. This symbol is not written in the given Emphasis style. If the symbol is outside the alphabet range (A-Z, and a-z), Nothing is returned.

script' Source #

Arguments

:: Emphasis

The given Emphasis style to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted in calligraphy, and depending on the Emphasis in bold or not.

Convert the given character to its script or calligraphic symbol. This symbol is written in the given Emphasis style. If the symbol is outside the alphabet range (A-Z, and a-z), the returned character is unspecified.

scriptRegular Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The calligraphy symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent calligraphy character.

Convert the given character to its script or calligraphic symbol wrapped in a Just data constructor. This symbol is not written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), Nothing is returned.

scriptRegular' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted in calligraphy, not in bold.

Convert the given character to its script or calligraphic symbol. This symbol is not written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), the returned character is unspecified.

scriptBold Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The calligraphy symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent calligraphy character.

Convert the given character to its script or calligraphic symbol wrapped in a Just data constructor. This symbol is written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), Nothing is returned.

scriptBold' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted in calligraphy, and in bold.

Convert the given character to its script or calligraphic symbol. This symbol is written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), the returned character is unspecified.

calligraphy Source #

Arguments

:: Emphasis

The given Emphasis style to use.

-> Char

The given character to convert.

-> Maybe Char

The calligraphy symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent calligraphy character.

Convert the given character to its script or calligraphic symbol wrapped in a Just data constructor. This symbol is not written in the given Emphasis style. If the symbol is outside the alphabet range (A-Z, and a-z), Nothing is returned. This is an alias of script.

calligraphy' Source #

Arguments

:: Emphasis

The given Emphasis style to use.

-> Char

The given character to convert.

-> Char

The equivalent character that is formatted in calligraphy, and depending on the Emphasis in bold or not.

Convert the given character to its script or calligraphic symbol. This symbol is written in the given Emphasis style. If the symbol is outside the alphabet range (A-Z, and a-z), the returned character is unspecified. This is an alias of script'.

calligraphyRegular Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The calligraphy symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent calligraphy character.

Convert the given character to its script or calligraphic symbol wrapped in a Just data constructor. This symbol is not written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), Nothing is returned. This is an alias of scriptRegular.

calligraphyRegular' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted in calligraphy, not in bold.

Convert the given character to its script or calligraphic symbol. This symbol is not written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), the returned character is unspecified. This is an alias of scriptRegular'.

calligraphyBold Source #

Arguments

:: Char

The given character to convert.

-> Maybe Char

The calligraphy symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent calligraphy character.

Convert the given character to its script or calligraphic symbol wrapped in a Just data constructor. This symbol is written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), Nothing is returned. This is an alias of scriptBold.

calligraphyBold' Source #

Arguments

:: Char

The given character to convert.

-> Char

The equivalent character that is formatted in calligraphy, and in bold.

Convert the given character to its script or calligraphic symbol. This symbol is written in boldface. If the symbol is outside the alphabet range (A-Z, and a-z), the returned character is unspecified. This is an alias of scriptBold'.

Fraktur symbols

fraktur Source #

Arguments

:: Emphasis

The given emphasis style to use.

-> Char

The character to convert to a fraktur symbol with the given emphasis style.

-> Maybe Char

The fraktur symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent fraktur character.

Obtain the fraktur symbol for the given character in the given emphais style. The result is wrapped in a Just data constructor. The range of supported characters are the alphabet characters (A-Z, and a-z). In case a character outside the range is passed to the function, Nothing is returned.

fraktur' Source #

Arguments

:: Emphasis

The given emphasis style to use.

-> Char

The character to convert to a fraktur symbol in the given emphasis style.

-> Char

The equivalent fraktur charater for the given character.

Obtain the fraktur symbol for the given character in the given emphasis style. The supported range of characters are the alphabet characters (A-Z, and a-z). In case the character is not in this range, it is unspecified what will be returned.

frakturRegular Source #

Arguments

:: Char

The character to convert to a regular fraktur symbol.

-> Maybe Char

The fraktur symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent fraktur character.

Obtain the fraktur symbol for the given character in a regular (not bold style). The result is wrapped in a Just data constructor. The range of supported characters are the alphabet characters (A-Z, and a-z). In case a character outside the range is passed to the function, Nothing is returned.

frakturRegular' Source #

Arguments

:: Char

The character to convert to a regular fraktur symbol.

-> Char

The equivalent fraktur charater for the given character.

Obtain the fraktur symbol for the given character in a regular (not bold) style. The supported range of characters are the alphabet characters (A-Z, and a-z). In case the character is not in this range, it is unspecified what will be returned.

frakturBold Source #

Arguments

:: Char

The character to convert to a bold fraktur symbol.

-> Maybe Char

The fraktur symbol for the given character wrapped in a Just data constructor, Nothing if there is no equivalent fraktur character.

Obtain the fraktur symbol for the given character in a bold. The result is wrapped in a Just data constructor. The range of supported characters are the alphabet characters (A-Z, and a-z). In case a character outside the range is passed to the function, Nothing is returned.

frakturBold' Source #

Arguments

:: Char

The character to convert to a bold fraktur symbol.

-> Char

The equivalent fraktur charater for the given character.

Obtain the fraktur symbol for the given character in a bold style. The supported range of characters are the alphabet characters (A-Z, and a-z). In case the character is not in this range, it is unspecified what will be returned.