Why do we curry functions
When we have a function with multiple arguments, currying allows us to change it into a function taking in a single argument.
curry f (a, b, c) = f’ (a) (b) (c)
This allows us to partially apply functions
When we have a function with multiple arguments, currying allows us to change it into a function taking in a single argument.
curry f (a, b, c) = f’ (a) (b) (c)
This allows us to partially apply functions