One way to do that is to define the signature you need, and restrict the module with it.

module Restricted = (Module : sig val a ... end )

open Restricted

didier

2012/10/26 José Romildo Malaquias <j.romildo@gmail.com>
Hello.

It seems that the expression ocaml "open module-path" exposes all names
exported by module-path.

Is there any way of exposing only a restrict set of names from a
module-path, instead of all names?

Romildo

--
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs