ocaml-modular-implicits icon indicating copy to clipboard operation
ocaml-modular-implicits copied to clipboard

Implicit module arguments

Open yallop opened this issue 11 years ago • 0 comments

Implicit module arguments are an alternative to implicit functors. Instead of

implicit functor M (A:X) (B:Y) = ...

we might write:

implicit module M (implicit A:X) (implicit B:Y) = ...

Both the module and the arguments are marked implicit here, but the idea is to separate the two, so that any module can have implicit arguments.

yallop avatar Sep 19 '14 15:09 yallop