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. flip :: (a -> b -> c) -> b -> a -> c

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 2 of many | Previous | Next