3 ms·
In OCaml, they are a bit more subtle: let x = ... in some_function ~x if the parameter has the same name on both sides (caller, callee) there's a syntac
by toolslive 4y ago
In OCaml, they are a bit more subtle:
let x = ... in
some_function ~x
if the parameter has the same name on both sides (caller, callee) there's a syntactic shortcut. It's a small but noticeable force that pushes you towards more consistent naming.