Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc-internal GHC.Internal.Conc.Sync No documentation available.
-
ghc-internal GHC.Internal.Control.Exception A pattern match failed. The String gives information about the source location of the pattern.
PatternMatchFail :: String -> PatternMatchFailghc-internal GHC.Internal.Control.Exception No documentation available.
-
ghc-internal GHC.Internal.Control.Exception.Base A pattern match failed. The String gives information about the source location of the pattern.
PatternMatchFail :: String -> PatternMatchFailghc-internal GHC.Internal.Control.Exception.Base No documentation available.
-
ghc-internal GHC.Internal.Data.Data No documentation available.
-
ghc-internal GHC.Internal.Data.Monoid Monoid under multiplication.
Product x <> Product y == Product (x * y)
Examples
>>> Product 3 <> Product 4 <> mempty Product {getProduct = 12}>>> mconcat [ Product n | n <- [2 .. 10]] Product {getProduct = 3628800} -
ghc-internal GHC.Internal.Data.Monoid No documentation available.
module GHC.Internal.Data.
Proxy Definition of a Proxy type (poly-kinded in GHC)
-
ghc-internal GHC.Internal.Data.Proxy Proxy is a type that holds no data, but has a phantom parameter of arbitrary type (or even kind). Its use is to provide type information, even though there is no value available of that type (or it may be too costly to create one). Historically, Proxy :: Proxy a is a safer alternative to the undefined :: a idiom.
>>> Proxy :: Proxy (Void, Int -> Int) Proxy
Proxy can even hold types of higher kinds,>>> Proxy :: Proxy Either Proxy
>>> Proxy :: Proxy Functor Proxy
>>> Proxy :: Proxy complicatedStructure Proxy