Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

  1. integralEnumFromThenTo :: Integral a => a -> a -> a -> [a]

    protolude Protolude

    No documentation available.

  2. integralEnumFromTo :: Integral a => a -> a -> [a]

    protolude Protolude

    No documentation available.

  3. isAlphaNum :: Char -> Bool

    protolude Protolude

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

    protolude Protolude

    No documentation available.

  5. setNumCapabilities :: Int -> IO ()

    protolude Protolude

    Set the number of Haskell threads that can run truly simultaneously (on separate physical processors) at any given time. The number passed to forkOn is interpreted modulo this value. The initial value is given by the +RTS -N runtime flag. This is also the number of threads that will participate in parallel garbage collection. It is strongly recommended that the number of capabilities is not set larger than the number of physical processor cores, and it may often be beneficial to leave one or more cores free to avoid contention with other processes in the machine.

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

    protolude Protolude

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

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

    protolude Protolude

    Convert from an Int.

  8. class Enum a

    protolude Protolude.Base

    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. boundedEnumFrom :: (Enum a, Bounded a) => a -> [a]

    protolude Protolude.Base

    No documentation available.

  10. boundedEnumFromThen :: (Enum a, Bounded a) => a -> a -> [a]

    protolude Protolude.Base

    No documentation available.

Page 254 of many | Previous | Next