caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Secrets of OCAML
@ 2000-01-13  3:53 David McClain
  0 siblings, 0 replies; only message in thread
From: David McClain @ 2000-01-13  3:53 UTC (permalink / raw)
  To: caml-list

It may not seem obvious until you try to implement similar functionality in
a language of your own. But the need to prefix a label with the module name
derives from the simple fact that the module is the place where the label is
defined... After you realize that, it is a simple matter to create compound
names of any depth crossing any number of module boundaries in the process.
Unless a module is "Used" in the sense of importing all of its symbols into
your current module, you must refer via the definining module name. It
really is quite simple after all...

- DM





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-13 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-13  3:53 Secrets of OCAML David McClain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).