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: | curry |

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

Description: | curry converts an uncurried function to a curried function |

Related: | uncurry |

Bibliography: | curried function [ FOLDOC ] |

Example 1

**Input: **curry fst 2 3

**Output: **2

Example 2

Programaaa = curry (\ (x,y) -> 2*x+y)^{source}:

**Input: **aaa 2 3

**Output: **7