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.

  1. flip :: (a -> b -> c) -> b -> a -> c

    base 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"
    

  2. flip :: (a -> b -> c) -> b -> a -> c

    base 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"
    

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

    base GHC.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"
    

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

    hedgehog Hedgehog.Internal.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"
    

  5. flip :: (a -> b -> c) -> b -> a -> c

    ghc GHC.Prelude.Basic

    No documentation available.

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

    rio RIO.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"
    

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

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

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

    relude Relude.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"
    

  9. flip :: BiMultiMap a b v -> BiMultiMap b a v

    distributed-process Control.Distributed.Process.Internal.BiMultiMap

    Exchange the first and the second components of all triplets.

  10. flip :: (a -> b -> c) -> b -> a -> c

    basement Basement.Compat.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"
    

Page 1 of many | Next