You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking that functors could compile down into "just" another Erlang module with a specific module reference at each call site into the parametrized module being replaced in each instance of a functor.
Can functors be dynamically created at runtime in OCaml? I can't find any documentation which allows for that and cannot seem to make OCaml do that.
Hi,
I'm trying to make use of parameterized modules / functors and maybe I'm missing something.
When I compile this file with
caramel compile *.ml
the main function gets compiled into such and there are no compilation errors:Yet there is no
pmod.erl
file created, which is how I sort of expected the parameterized modules to be implemented.The text was updated successfully, but these errors were encountered: