Re:OCaml 4.03 will, “if all goes well”, support multicore
by gmfawcett on Thursday May 21, 2015 @01:30PM
(#9584126)
The Ocaml way would be to define the functions in separate modules (A.foo, B.foo, etc.). There are convenient syntaxes for declaring which modules are in scope in a given expression, as well as support for first-class modules (you can define functions that take modules as parameters). The module system is sophisticated, and is arguably the "power feature" of Ocaml.
[ Parent
| on HN ]
There are no comments on this comment yet.