About 8 years ago, I made a multilingual dictionary to help you translate between programming languages (at the time, between C++, VB, JavaScript). I'm now tempted to start the same thing for Lisp<->ML.
Let f be a function of many variables. If the arguments you want to pass are in a list l, how do you apply f to the arguments?
Common Lisp:
(apply f l)
OCaml:
uncurry f l;;
If you have the arguments a, b, how do you apply f?
CL:
(funcall f a b)
Scheme:
(f a b)
OCaml:
f a b;;
oh, I need to be more careful about tuples vs lists.
Let f be a function of many variables. If the arguments you want to pass are in a list l, how do you apply f to the arguments?
Common Lisp:
(apply f l)
OCaml:
uncurry f l;;
If you have the arguments a, b, how do you apply f?
CL:
(funcall f a b)
Scheme:
(f a b)
OCaml:
f a b;;
oh, I need to be more careful about tuples vs lists.