[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Matthieu Dubuget <matthieu.dubuget@l...> |
| Subject: | Re: [Caml-list] Basic question about modules |
> > If I want to restrict what gets exported, I have to > write an x.mli file. Whilst I've written mli files for simple > types and functions, I'm at a loss as how to write the contents > of the mli file that corresponds to the one automatically generated > above (specifically the StringMap bit). > When you are ready with your module, the simplest way is to generate the mli file with ocamlc -i x.ml > x.mli and then edit x.mli to restrict the exported parts. I hope I understood your question and that this will help. Salutations Matthieu Dubuget ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners