Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
flip :: (a -> b -> c) -> b -> a -> cbetween Data.Function.Between.Strict.Internal Strict variant of flip. Defined as:
flip f b a = f $! a $! b
Since version 0.11.0.0.flip :: (a -> b -> c) -> b -> a -> cclassy-prelude-yesod ClassyPrelude.Yesod flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id
Examples
>>> flip (++) "hello" "world" "worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5 "6"
flip :: (a -> b -> c) -> b -> a -> cconstrained-categories Control.Category.Constrained.Prelude flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id
Examples
>>> flip (++) "hello" "world" "worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5 "6"
flip :: (a -> b -> c) -> b -> a -> cconstrained-categories Control.Category.Hask flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id
Examples
>>> flip (++) "hello" "world" "worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5 "6"
flip :: (a -> b -> c) -> b -> a -> ccopilot-language Copilot.Language.Prelude flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id
Examples
>>> flip (++) "hello" "world" "worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5 "6"
flip :: (a -> b -> c) -> b -> a -> cverset Verset flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id
Examples
>>> flip (++) "hello" "world" "worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5 "6"
flip :: (a -> b -> c) -> b -> a -> cxmonad-contrib XMonad.Config.Prime flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id
Examples
>>> flip (++) "hello" "world" "worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5 "6"
-
No documentation available.
newtype
Flip (p :: k -> k1 -> Type) (a :: k1) (b :: k)bifunctors Data.Bifunctor.Flip Flip :: p b a -> Flip (p :: k -> k1 -> Type) (a :: k1) (b :: k)bifunctors Data.Bifunctor.Flip No documentation available.