Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. singEnumInstance :: OptionsMonad q => Name -> q [Dec]

    singletons-th Data.Singletons.TH

    Create instance of SEnum for the given type

  2. singEnumInstances :: OptionsMonad q => [Name] -> q [Dec]

    singletons-th Data.Singletons.TH

    Create instances of SEnum for the given types

  3. DecimalNumber :: GeneralCategory

    speculate Test.Speculate.Utils

    Nd: Number, Decimal

  4. LetterNumber :: GeneralCategory

    speculate Test.Speculate.Utils

    Nl: Number, Letter

  5. OtherNumber :: GeneralCategory

    speculate Test.Speculate.Utils

    No: Number, Other

  6. isAlphaNum :: Char -> Bool

    speculate Test.Speculate.Utils

    Selects alphabetic or numeric Unicode characters. Note that numeric digits outside the ASCII range, as well as numeric characters which aren't digits, are selected by this function but not by isDigit. Such characters may be part of identifiers but are not used by the printer and reader to represent numbers, e.g., Roman numerals like V, full-width digits like '1' (aka '65297'). This function returns True if its argument has one of the following GeneralCategorys, or False otherwise:

  7. isNumber :: Char -> Bool

    speculate Test.Speculate.Utils

    Selects Unicode numeric characters, including digits from various scripts, Roman numerals, et cetera. This function returns True if its argument has one of the following GeneralCategorys, or False otherwise:

    These classes are defined in the Unicode Character Database, part of the Unicode standard. The same document defines what is and is not a "Number".

    Examples

    Basic usage:
    >>> isNumber 'a'
    False
    
    >>> isNumber '%'
    False
    
    >>> isNumber '3'
    True
    
    ASCII '0' through '9' are all numbers:
    >>> and $ map isNumber ['0'..'9']
    True
    
    Unicode Roman numerals are "numbers" as well:
    >>> isNumber 'Ⅸ'
    True
    

  8. isAlphaNum :: Char -> Bool

    text-latin1 Text.Ascii

    Test if a character is either an ASCII letter or a decimal digit.

  9. isAlphaNum8 :: Word8 -> Bool

    text-latin1 Text.Ascii

    Test if a byte is the encoding of either an ASCII letter or a decimal digit.

  10. isAlphaNum :: Char -> Bool

    text-latin1 Text.Latin1

    Test if a character is either a Latin-1 letter or a decimal digit.

Page 361 of many | Previous | Next