Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. sli_header_block :: SelfLoopInfo -> !BlockId

    ghc GHC.StgToCmm.Sequel

    No documentation available.

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

    ghc GHC.StgToJS.Object

    Parse object header

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

    ghc GHC.SysTools

    Copy file after printing the given header

  4. IllegalInstanceHead :: IllegalInstanceHeadReason -> IllegalClassInstanceReason

    ghc GHC.Tc.Errors.Types

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

  5. data IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    Why is a class instance head invalid?

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

  7. InstHeadMultiParam :: IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

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

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

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

  10. InstHeadTySynArgs :: IllegalInstanceHeadReason

    ghc GHC.Tc.Errors.Types

    Instance head was headed by a type synonym. Example: type MyInt = Int class C a where {..} instance C MyInt where {..} Test cases: drvfail015, mod42, TidyClassKinds, tcfail139

Page 155 of many | Previous | Next