Le 26/10/2012 13:26, José Romildo Malaquias a écrit : > 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 > Is this what you are looking for? # module type RS = sig val length : string -> int end;; module type RS = sig val length : string -> int end # module ReducedString:RS = String;; module ReducedString : RS # ReducedString.length "coco";; - : int = 4 # ReducedString.uppercase "coco";; Error: Unbound value ReducedString.uppercase Salutations Matthieu