caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe Filliatre <filliatr@lri.fr>
To: Richard Jones <rich@annexia.org>
Cc: Yoann Padioleau <padator@wanadoo.fr>,
	caml-list@yquem.inria.fr,
	Andreas Biegert <andreas.biegert@googlemail.com>
Subject: Re: [Caml-list] global record
Date: Wed, 19 Jul 2006 17:09:06 +0200	[thread overview]
Message-ID: <17598.19218.262024.342449@pc9-152.lri.fr> (raw)
In-Reply-To: <20060719145033.GA22434@furbychan.cocan.org>


Richard Jones writes:
 > On Wed, Jul 19, 2006 at 04:39:32PM +0200, Yoann Padioleau wrote:
 > > Richard Jones <rich@annexia.org> writes:
 > > > val username : string
 > > 
 > > You certainly mean 
 > >  val username: string ref
 > 
 > No, I mean:
 > 
 > val username : string

and I confirm :-) 

I  use  the  same  trick  of dereferencing  the  references  used  for
command-line  parsing as  soon as  it  is done  and I  find this  very
convenient.  This can be  realized in  the very  first module  on your
ocaml link command,  and thus in whole the remaining  of your code you
do not need to use the deref operator (!) anymore.

-- 
Jean-Christophe


  reply	other threads:[~2006-07-19 15:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-19 11:11 Andreas Biegert
2006-07-19 11:42 ` [Caml-list] " Pietro Abate
     [not found] ` <3d13dcfc0607190528y624e5c9eg2c45e1cb17ec3771@mail.gmail.com>
2006-07-19 12:29   ` David MENTRE
2006-07-19 14:07 ` Richard Jones
2006-07-19 14:39   ` Yoann Padioleau
2006-07-19 14:50     ` Richard Jones
2006-07-19 15:09       ` Jean-Christophe Filliatre [this message]
2006-07-19 15:08     ` William D. Neumann
2006-07-20  7:26 ` Jeff Henrikson
2006-07-19 17:14 Eric Breck

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=17598.19218.262024.342449@pc9-152.lri.fr \
    --to=filliatr@lri.fr \
    --cc=andreas.biegert@googlemail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=padator@wanadoo.fr \
    --cc=rich@annexia.org \
    /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).