Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

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

  1. module GHC.Internal.Data.Functor.Identity

    The identity functor and monad. This trivial type constructor serves two purposes:

    • It can be used with functions parameterized by functor or monad classes.
    • It can be used as a base monad to which a series of monad transformers may be applied to construct a composite monad. Most monad transformer modules include the special case of applying the transformer to Identity. For example, State s is an abbreviation for StateT s Identity.

  2. newtype Identity a

    ghc-internal GHC.Internal.Data.Functor.Identity

    Identity functor and monad. (a non-strict monad)

    Examples

    >>> fmap (+1) (Identity 0)
    Identity 1
    
    >>> Identity [1, 2, 3] <> Identity [4, 5, 6]
    Identity [1,2,3,4,5,6]
    
    >>> do
    x <- Identity 10
    y <- Identity (x + 5)
    pure (x + y)
    Identity 25
    

  3. Identity :: a -> Identity a

    ghc-internal GHC.Internal.Data.Functor.Identity

    No documentation available.

  4. Ident :: String -> Lexeme

    ghc-internal GHC.Internal.Text.Read

    Haskell identifier, e.g. foo, Baz

  5. Ident :: String -> Lexeme

    ghc-internal GHC.Internal.Text.Read.Lex

    Haskell identifier, e.g. foo, Baz

  6. Idiv :: Operation

    hslua-packaging HsLua.Packaging.Module

    the floor division (//) operation. Behavior similar to the addition operation.

  7. Idiv :: Operation

    hslua-packaging HsLua.Packaging.UDType

    the floor division (//) operation. Behavior similar to the addition operation.

  8. module TextShow.Data.Functor.Identity

    TextShow instance for Identity values. Since: 2

  9. Idle :: ApplicationCacheStatus

    webdriver Test.WebDriver.Commands

    No documentation available.

  10. Idle :: ApplicationCacheStatus

    webdriver Test.WebDriver.Types

    No documentation available.

Page 190 of many | Previous | Next