Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. LetterNumber :: GeneralCategory

    rio RIO.Char

    Nl: Number, Letter

  2. OtherNumber :: GeneralCategory

    rio RIO.Char

    No: Number, Other

  3. isAlphaNum :: Char -> Bool

    rio RIO.Char

    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:

  4. isNumber :: Char -> Bool

    rio RIO.Char

    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
    

  5. toEnum :: Enum a => Int -> a

    rio RIO.Partial

    Convert from an Int.

  6. fromEnum :: Enum a => a -> Int

    rio RIO.Prelude

    Convert to an Int. It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int.

  7. signum :: Num a => a -> a

    rio RIO.Prelude

    Sign of a number. The functions abs and signum should satisfy the law:

    abs x * signum x == x
    
    For real numbers, the signum is either -1 (negative), 0 (zero) or 1 (positive).

  8. class Enum a

    rio RIO.Prelude.Types

    Class Enum defines operations on sequentially ordered types. The enumFrom... methods are used in Haskell's translation of arithmetic sequences. Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1. See Chapter 10 of the Haskell Report for more details. For any type that is an instance of class Bounded as well as Enum, the following should hold:

    enumFrom     x   = enumFromTo     x maxBound
    enumFromThen x y = enumFromThenTo x y bound
    where
    bound | fromEnum y >= fromEnum x = maxBound
    | otherwise                = minBound
    

  9. enumFromN :: (Vector v a, Num a) => a -> Int -> v a

    rio RIO.Vector

    No documentation available.

  10. enumFromStepN :: (Vector v a, Num a) => a -> a -> Int -> v a

    rio RIO.Vector

    No documentation available.

Page 188 of many | Previous | Next