English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
RE: [Caml-list] recursive modules redux, & interface files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-03-22 (12:01)
From: Markus Mottl <mottl@m...>
Subject: Re: [Caml-list] recursive modules redux, & interface files
On Thu, 22 Mar 2001, Dave Berry wrote:
> Pardon me if this is a dumb question, but what is the difference between
> "include" and "open"?

"include" reexports the definitions of the included module, whereas
"open" only makes them visible within the current module.

Regards,
Markus Mottl

-- 
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr