ZVON
>
References
>
Haskell reference |

Intro / Search / ZVON |

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

Module: | Prelude |
---|---|

Function: | uncurry |

Type: | (a -> b -> c) -> (a,b) -> c |

Description: | uncurry converts a curried function to a function on pairs |

Related: | curry |

Bibliography: | uncurrying [ FOLDOC ] curried function [ FOLDOC ] |

Example 1

**Input: **uncurry mod (5,4)

**Output: **1

Example 2

Programtimes = uncurry (*)^{source}:

**Input: **times (3,2)

**Output: **6