ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: flip
Type: (a -> b -> c) -> b -> a -> c
Description: it evaluates the function flipping the order of arguments
Related:

Example 1

Input: flip (/) 1 2

Output: 2.0

Example 2

Input: flip (>) 3 5

Output: True

Example 3

Input: flip mod 3 6

Output: 0