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.

  1. data PrimMVar

    ghc-internal GHC.Internal.Conc.Sync

    No documentation available.

  2. newtype PatternMatchFail

    ghc-internal GHC.Internal.Control.Exception

    A pattern match failed. The String gives information about the source location of the pattern.

  3. PatternMatchFail :: String -> PatternMatchFail

    ghc-internal GHC.Internal.Control.Exception

    No documentation available.

  4. newtype PatternMatchFail

    ghc-internal GHC.Internal.Control.Exception.Base

    A pattern match failed. The String gives information about the source location of the pattern.

  5. PatternMatchFail :: String -> PatternMatchFail

    ghc-internal GHC.Internal.Control.Exception.Base

    No documentation available.

  6. Prefix :: Fixity

    ghc-internal GHC.Internal.Data.Data

    No documentation available.

  7. newtype Product a

    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}
    

  8. Product :: a -> Product a

    ghc-internal GHC.Internal.Data.Monoid

    No documentation available.

  9. module GHC.Internal.Data.Proxy

    Definition of a Proxy type (poly-kinded in GHC)

  10. data Proxy (t :: k)

    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
    

Page 400 of many | Previous | Next