You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like that. If we have a very simple curry that works with functions taking two arguments:
curry = (fn) -> (x) -> (y) -> fn(x, y)
uncurry reverses the operation:
uncurry = (fn) -> (x, y) -> fn(x)(y)
Most of the currying in allong.es is self-uncurrying in that you can call things like map or getWith using either map(list)(fn) or map(list, fn). But I could add a variadic uncurry that can handle any number of arguments.
No description provided.
The text was updated successfully, but these errors were encountered: