Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 1
    Can somebody please create the tags "curry" or "currying"? Commented Nov 27, 2012 at 12:18
  • How do you curry in C? Commented Nov 27, 2012 at 12:24
  • this is probably really more about partial application programmers.stackexchange.com/questions/152868/… Commented Nov 27, 2012 at 12:33
  • 1
    @Vigneshwaran: AFAIK you do not need to create another function in a language supporting currying. For example, in Haskell f x y = x + y means that f is a function that takes one int parameter. The result of f x (f applied to x) is a function that takes one int parameter. The result f x y (or (f x) y, i.e. f x applied to y) is an expression that takes no input parameters and is evaluated by reducing x + y. Commented Nov 27, 2012 at 12:48
  • 1
    You can achieve the same things, but the amount of effort you go through with C is much more painful and not as efficient as in a language like haskell where it's the default behavior Commented Nov 27, 2012 at 12:57