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.
flip :: (a -> b -> c) -> b -> a -> cbasement Basement.Imports 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 -> cprotolude Protolude 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 -> cghc-internal GHC.Internal.Base 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 -> cghc-internal GHC.Internal.Data.Function 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 -> cnumeric-prelude NumericPrelude 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 -> cnumeric-prelude NumericPrelude.Base 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 -> cnumhask NumHask.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 -> cnumhask NumHask.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 -> cbasic-prelude CorePrelude 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 -> cclassy-prelude ClassyPrelude 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"