Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. profHeaderCreate :: CmmExpr -> FCode ()

    ghc GHC.StgToCmm.Prof

    Initialise the profiling word of a new dynamic closure * When LDV profiling is enabled (era > 0) - Initialise to the LDV word * When eras profiling is enabled (user_era > 0) - Initialise to current user_era

  2. sli_header_block :: SelfLoopInfo -> !BlockId

    ghc GHC.StgToCmm.Sequel

    No documentation available.

  3. getObjectHeader :: BinHandle -> IO (Either String ModuleName)

    ghc GHC.StgToJS.Object

    Parse object header

  4. copyWithHeader :: String -> FilePath -> FilePath -> IO ()

    ghc GHC.SysTools

    Copy file after printing the given header

  5. IllegalInstanceHead :: IllegalInstanceHeadReason -> IllegalClassInstanceReason

    ghc GHC.Tc.Errors.Types

    An illegal type at the head of the instance. See IllegalInstanceHeadReason.

  6. data IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    Why is a class instance head invalid?

  7. InstHeadAbstractClass :: Class -> IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    An instance for an abstract class from an hs-boot or Backpack hsig file. Example:

    • - A.hs-boot module A where class C a
    • - B.hs module B where import {-# SOURCE #-} A instance C Int where
    • - A.hs module A where import B class C a where f :: a
    Test cases: typecheckshould_failT13068

  8. InstHeadMultiParam :: IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    Multi-param instance without -XMultiParamTypeClasses. Example: instance C a b where {..} Test case: IllegalMultiParamInstance

  9. InstHeadNonClass :: !Maybe TyCon -> IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    An instance whose head is not a class. Examples(s): instance c instance 42 instance !Show D type C1 a = (Show (a -> Bool)) instance C1 Int where Test cases: typecheckrenameT5513 typecheckrenameT16385 parsershould_failT3811c renameshould_failT18240a polykinds/T13267 derivingshould_failT23522

  10. InstHeadNonTyVarArgs :: IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    Instance head was not of the form T a1 ... an, where a1, ..., an are all type variables or literals. Example: instance Num [Int] where {..} Test cases: mod41, mod42, tcfail044, tcfail047.

Page 155 of many | Previous | Next