Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    basement Basement.Compat.Base

    morphism composition

  2. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    basement Basement.Imports

    morphism composition

  3. (.) :: (b -> c) -> (a -> b) -> a -> c

    protolude Protolude

    Right to left function composition.

    (f . g) x = f (g x)
    
    f . id = f = id . f
    

    Examples

    >>> map ((*2) . length) [[], [0, 1, 2], [0]]
    [0,6,2]
    
    >>> foldr (.) id [(+1), (*3), (^3)] 2
    25
    
    >>> let (...) = (.).(.) in ((*2)...(+)) 5 10
    30
    

  4. (.) :: (b -> c) -> (a -> b) -> a -> c

    ghc-internal GHC.Internal.Base

    Right to left function composition.

    (f . g) x = f (g x)
    
    f . id = f = id . f
    

    Examples

    >>> map ((*2) . length) [[], [0, 1, 2], [0]]
    [0,6,2]
    
    >>> foldr (.) id [(+1), (*3), (^3)] 2
    25
    
    >>> let (...) = (.).(.) in ((*2)...(+)) 5 10
    30
    

  5. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    ghc-internal GHC.Internal.Control.Category

    morphism composition

  6. (.) :: (b -> c) -> (a -> b) -> a -> c

    ghc-internal GHC.Internal.Data.Function

    Right to left function composition.

    (f . g) x = f (g x)
    
    f . id = f = id . f
    

    Examples

    >>> map ((*2) . length) [[], [0, 1, 2], [0]]
    [0,6,2]
    
    >>> foldr (.) id [(+1), (*3), (^3)] 2
    25
    
    >>> let (...) = (.).(.) in ((*2)...(+)) 5 10
    30
    

  7. (.) :: (b -> c) -> (a -> b) -> a -> c

    numeric-prelude NumericPrelude

    Right to left function composition.

    (f . g) x = f (g x)
    
    f . id = f = id . f
    

    Examples

    >>> map ((*2) . length) [[], [0, 1, 2], [0]]
    [0,6,2]
    
    >>> foldr (.) id [(+1), (*3), (^3)] 2
    25
    
    >>> let (...) = (.).(.) in ((*2)...(+)) 5 10
    30
    

  8. (.) :: (b -> c) -> (a -> b) -> a -> c

    numeric-prelude NumericPrelude.Base

    Right to left function composition.

    (f . g) x = f (g x)
    
    f . id = f = id . f
    

    Examples

    >>> map ((*2) . length) [[], [0, 1, 2], [0]]
    [0,6,2]
    
    >>> foldr (.) id [(+1), (*3), (^3)] 2
    25
    
    >>> let (...) = (.).(.) in ((*2)...(+)) 5 10
    30
    

  9. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    basic-prelude CorePrelude

    morphism composition

  10. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    classy-prelude ClassyPrelude

    morphism composition

Page 2 of many | Previous | Next