Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. class Arrow a => ArrowChoice (a :: Type -> Type -> Type)

    rebase Rebase.Prelude

    Choice, for arrows that support it. This class underlies the if and case constructs in arrow notation. Instances should satisfy the following laws:

    where
    assocsum (Left (Left x)) = Left x
    assocsum (Left (Right y)) = Right (Left y)
    assocsum (Right z) = Right (Right z)
    
    The other combinators have sensible default definitions, which may be overridden for efficiency.

  2. class Arrow a => ArrowLoop (a :: Type -> Type -> Type)

    rebase Rebase.Prelude

    The loop operator expresses computations in which an output value is fed back as input, although the computation occurs only once. It underlies the rec value recursion construct in arrow notation. loop should satisfy the following laws:

    where
    assoc ((a,b),c) = (a,(b,c))
    unassoc (a,(b,c)) = ((a,b),c)
    

  3. newtype ArrowMonad (a :: Type -> Type -> Type) b

    rebase Rebase.Prelude

    The ArrowApply class is equivalent to Monad: any monad gives rise to a Kleisli arrow, and any instance of ArrowApply defines a monad.

  4. ArrowMonad :: a () b -> ArrowMonad (a :: Type -> Type -> Type) b

    rebase Rebase.Prelude

    No documentation available.

  5. class ArrowZero a => ArrowPlus (a :: Type -> Type -> Type)

    rebase Rebase.Prelude

    A monoid on arrows.

  6. class Arrow a => ArrowZero (a :: Type -> Type -> Type)

    rebase Rebase.Prelude

    No documentation available.

  7. class Arrow a => ArrowApply (a :: Type -> Type -> Type)

    base-prelude BasePrelude

    Some arrows allow application of arrow inputs to other inputs. Instances should satisfy the following laws:

    Such arrows are equivalent to monads (see ArrowMonad).

  8. class Arrow a => ArrowChoice (a :: Type -> Type -> Type)

    base-prelude BasePrelude

    Choice, for arrows that support it. This class underlies the if and case constructs in arrow notation. Instances should satisfy the following laws:

    where
    assocsum (Left (Left x)) = Left x
    assocsum (Left (Right y)) = Right (Left y)
    assocsum (Right z) = Right (Right z)
    
    The other combinators have sensible default definitions, which may be overridden for efficiency.

  9. class Arrow a => ArrowLoop (a :: Type -> Type -> Type)

    base-prelude BasePrelude

    The loop operator expresses computations in which an output value is fed back as input, although the computation occurs only once. It underlies the rec value recursion construct in arrow notation. loop should satisfy the following laws:

    where
    assoc ((a,b),c) = (a,(b,c))
    unassoc (a,(b,c)) = ((a,b),c)
    

  10. newtype ArrowMonad (a :: Type -> Type -> Type) b

    base-prelude BasePrelude

    The ArrowApply class is equivalent to Monad: any monad gives rise to a Kleisli arrow, and any instance of ArrowApply defines a monad.

Page 18 of many | Previous | Next