Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc GHC.Core.TyCo.Ppr No documentation available.
PhantomProv :: KindCoercion -> UnivCoProvenanceghc GHC.Core.TyCo.Rep See Note [Phantom coercions]. Only in Phantom roled coercions
PluginProv :: String -> UnivCoProvenanceghc GHC.Core.TyCo.Rep From a plugin, which asserts that this coercion is sound. The string is for the use of the plugin.
-
ghc GHC.Core.TyCo.Rep A type of the form p of constraint kind represents a value whose type is the Haskell predicate p, where a predicate is what occurs before the => in a Haskell type. We use PredType as documentation to mark those types that we guarantee to have this kind. It can be expanded into its representation, but:
- The type checker must treat it as opaque
- The rest of the compiler treats it as transparent
f :: (Eq a) => a -> Int g :: (?x :: Int -> Int) => a -> Int h :: (r\l) => {r} => {l::Int | r}Here the Eq a and ?x :: Int -> Int and rl are all called "predicates" ProofIrrelProv :: KindCoercion -> UnivCoProvenanceghc GHC.Core.TyCo.Rep From the fact that any two coercions are considered equivalent. See Note [ProofIrrelProv]. Can be used in Nominal or Representational coercions
-
ghc GHC.Core.TyCon No documentation available.
-
ghc GHC.Core.TyCon No documentation available.
-
ghc GHC.Core.TyCon No documentation available.
-
ghc GHC.Core.TyCon A PrimRep is an abstraction of a non-void type. (Use PrimRepOrVoidRep if you want void types too.) It contains information that the code generator needs in order to pass arguments, return results, and store values of this type. See also Note [RuntimeRep and PrimRep] in GHC.Types.RepType and Note [VoidRep] in GHC.Types.RepType.
-
ghc GHC.Core.TyCon Some promoted datacons signify extra info relevant to GHC. For example, the IntRep constructor of RuntimeRep corresponds to the IntRep constructor of PrimRep. This data structure allows us to store this information right in the TyCon. The other approach would be to look up things like RuntimeRep's PrimRep by known-key every time. See also Note [Getting from RuntimeRep to PrimRep] in GHC.Types.RepType