caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Raffalli <raffalli@logique.jussieu.fr>
To: David.Monniaux@ens-lyon.fr
Cc: caml-list@inria.fr
Subject: Re: initialization of arrays
Date: Tue, 6 May 1997 13:43:41 +0200 (MET DST)	[thread overview]
Message-ID: <199705061143.NAA00635@boole.logique.jussieu.fr> (raw)
In-Reply-To: <Pine.GSO.3.95.970429214123.25931A-100000@terreaux> (message from David Monniaux on Tue, 29 Apr 1997 22:08:15 +0200 (MET DST))


Hi,

I agree with this, but more generally we need a syntactic sugar to copy a
record and change some fields like

{ r with a = e; b = f; ... }

Or anything like that ! 
(this would give record copy by removing the with part)

When you use a record with many fields it makes the program much longer (and
less readable) when you often need to change one or two field in a record.

----
Christophe Raffalli
Universite Paris XII

URL: http://www.logique.jussieu.fr/www.raffalli




      parent reply	other threads:[~1997-05-06 12:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-29 20:08 David Monniaux
1997-05-05 17:06 ` Pierre Weis
1997-05-06 11:43 ` Christophe Raffalli [this message]

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=199705061143.NAA00635@boole.logique.jussieu.fr \
    --to=raffalli@logique.jussieu.fr \
    --cc=David.Monniaux@ens-lyon.fr \
    --cc=caml-list@inria.fr \
    /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).