caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Brown <caml-list@davidb.org>
To: Norman Ramsey <nr@eecs.harvard.edu>
Cc: caml-list@inria.fr
Subject: Re: Ocaml secrets
Date: Wed, 12 Jan 2000 09:56:04 -0800	[thread overview]
Message-ID: <20000112095604.A10467@davidb.org> (raw)
In-Reply-To: <200001121531.KAA30840@wally.eecs.harvard.edu>; from nr@eecs.harvard.edu on Wed, Jan 12, 2000 at 10:31:22AM -0500

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




  reply	other threads:[~2000-01-12 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-12 15:31 Norman Ramsey
2000-01-12 17:56 ` David Brown [this message]
2000-01-12 22:35 ` Francois Rouaix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000112095604.A10467@davidb.org \
    --to=caml-list@davidb.org \
    --cc=caml-list@inria.fr \
    --cc=nr@eecs.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).