Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. LitNumWord8 :: LitNumType

    ghc GHC.Types.Literal

    Word8# - exactly 8 bits

  2. LitNumber :: LitNumType -> Integer -> Literal

    ghc GHC.Types.Literal

    Any numeric literal that can be internally represented with an Integer.

  3. litNumBitSize :: Platform -> LitNumType -> Maybe Word

    ghc GHC.Types.Literal

    Number of bits

  4. litNumCheckRange :: Platform -> LitNumType -> Integer -> Bool

    ghc GHC.Types.Literal

    Check that a given number is in the range of a numeric literal

  5. litNumCoerce :: LitNumType -> Platform -> Literal -> Literal

    ghc GHC.Types.Literal

    Coerce a literal number into another using wrapping semantics.

  6. litNumIsSigned :: LitNumType -> Bool

    ghc GHC.Types.Literal

    Indicate if a numeric literal type supports negative numbers

  7. litNumNarrow :: LitNumType -> Platform -> Literal -> Literal

    ghc GHC.Types.Literal

    Narrow a literal number by converting it into another number type and then converting it back to its original type.

  8. litNumRange :: Platform -> LitNumType -> (Maybe Integer, Maybe Integer)

    ghc GHC.Types.Literal

    Get the literal range

  9. litNumWrap :: Platform -> Literal -> Literal

    ghc GHC.Types.Literal

    Wrap a literal number according to its type using wrapping semantics.

  10. mkLitNumber :: Platform -> LitNumType -> Integer -> Literal

    ghc GHC.Types.Literal

    Create a numeric Literal of the given type

Page 168 of many | Previous | Next