3 ms·
Can you explain how named curried functions differ from ocaml's named arguments? It looks exactly the same, other than the syntax.
by thedufer 10y ago
Can you explain how named curried functions differ from ocaml's named arguments? It looks exactly the same, other than the syntax.
- chenglou 10y agoThey are the same. I don't think cies was implying they were different.
- thedufer 10y agoThe wording seems to pretty clearly say otherwise, but I appreciate the confirmation that I'm not missing anything.
- jordwalke 10y agoThey're not different than OCaml's, but Reason's JSX is an interesting / useful application of labeled arguments that appeals to React developers.
- cies 10y agoMy bad. They're the same (as others noted). Was not familiar with them.