λ

1.9: Functors

Modules may accept other modules as parameters, including accepting a signature rather than a specific implementation. These are called functors, and declared using the functor keyword.

(* examples/functors.sml *)