Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

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

    ghc-lib-parser GHC.Prelude.Basic

    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.

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

    ghc-lib-parser GHC.Prelude.Basic

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

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

    ghc-lib-parser GHC.Prelude.Basic

    Convert from an Int.

  4. execLineNumber :: ExecOptions -> Int

    ghc-lib-parser GHC.Runtime.Eval.Types

    line number (for errors)

  5. data ConstructorNumber

    ghc-lib-parser GHC.Stg.Syntax

    When `-fdistinct-constructor-tables` is turned on then each usage of a constructor is given an unique number and an info table is generated for each different constructor.

  6. NoNumber :: ConstructorNumber

    ghc-lib-parser GHC.Stg.Syntax

    No documentation available.

  7. hdTagToEnum :: FastString

    ghc-lib-parser GHC.StgToJS.Symbols

    No documentation available.

  8. ctNum :: ClosureType -> Int

    ghc-lib-parser GHC.StgToJS.Types

    Convert ClosureType to an Int

  9. threadStatusNum :: ThreadStatus -> Int

    ghc-lib-parser GHC.StgToJS.Types

    Convert the status of a thread in JS land to an Int

  10. DerivErrEnumOrProduct :: DeriveInstanceErrReason -> DeriveInstanceErrReason -> DeriveInstanceErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    We couldn't derive an instance either because the type was not an enum type or because it did have more than one constructor.

Page 285 of many | Previous | Next