Tag Archives: currying

Currying in F#.

Currying is a powerful programming technique that allows you to apply parameters to a function, even if you don’t have all of the parameters quite yet! This example is written in F#. Lets start with a simple example. let curry f a = f a let adder = (curry (fun x -> x + 1)) [...]
Posted in Programming | Also tagged , | Leave a comment