DEV Community

Discussion on: Partial Application of Functions in Elm

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

Nice article!

Slight tangent

In ReasonML f: (a,b) -> c is equivalent to f: a -> b -> c in that you can partially apply the first argument by calling f(aValue).

ReasonML - Function - Currying

When a newcomer to FP learns currying/partial application this way, now there is going to be a stumbling block when transitioning to other functional languages. Because every other function language I'm aware of actually means tuple when the function signature says tuple.