Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
. ) :: (b -> c) -> (a -> b) -> a -> cbase Prelude 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
(
. ) :: (b -> c) -> (a -> b) -> a -> cbase 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
(
. ) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a cbase Control.Category morphism composition
(
. ) :: (b -> c) -> (a -> b) -> a -> cbase GHC.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
(
. ) :: (b -> c) -> (a -> b) -> a -> chedgehog Hedgehog.Internal.Prelude 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
(
. ) :: (b -> c) -> (a -> b) -> a -> cghc GHC.Prelude.Basic No documentation available.
(
. ) :: (b -> c) -> (a -> b) -> a -> chaskell-gi-base Data.GI.Base.ShortPrelude 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
(
. ) :: (b -> c) -> (a -> b) -> a -> crio RIO.Prelude 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
(
. ) :: (b -> c) -> (a -> b) -> a -> cCabal-syntax Distribution.Compat.Prelude No documentation available.
(
. ) :: (b -> c) -> (a -> b) -> a -> crelude Relude.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
Page 1 of many | Next