Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
worked.

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