4 ms·
"Dream of Curried Named Parameters" What dream, this is a daily reality in OCaml.
by e_d_g_a_r 11y ago
"Dream of Curried Named Parameters" What dream, this is a daily reality in OCaml.
- tolmasky 11y agoYeah definitely an inspiration (and mentioned twice in the blog post). The main differences (unless I'm mistaken), are the parameter name mapping (which make it easy for differing APIs to interact well) and the idea of separating function application from argument binding, which allows for both re-currying (which actually unifies default parameters under curried parameters) and also for leaving fully-curried functions in a callable state.