|
|
|
|
|
by Isognoviastoma
86 days ago
|
|
> curried functions often don't compose nicely Same for imperative languages with "parameter list" style.
In python, with def f(a, b): return c, d def g(k, l): return m, n you can't do f(g(1,2)) but have to use f(*g(1,2)) what is analogical to uncurry, but operate on value rather than function. TBH I can't name a language where such f(g(1,2)) would work. |
|