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
Ocaml secrets
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-01-12 (21:49)
From: David Brown <caml-list@d...>
Subject: Re: Ocaml secrets
On Wed, Jan 12, 2000 at 10:31:22AM -0500, Norman Ramsey wrote:

> Please tell me where in the OCaml manual I could have discovered
> the ability to write
>   tm.Unix.tm_hour
> as in

I didn't find it.  I tried it on a whim and was very glad that it

If you wander through the BNF grammar in the reference section, it
does show it as being possible.  A label can either be a label-name,
or a  (module-path '.' label-name).  It might be helpful to mention
this somewhere in the tutorial, or in some kind of FAQ, since it is
very handy.

Dave Brown