caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Denis Bueno" <dbueno@gmail.com>
To: "Martin Jambon" <martin1977@laposte.net>
Cc: "OCaml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Record field update using 'with' syntax
Date: Mon, 18 Sep 2006 17:00:04 -0400	[thread overview]
Message-ID: <6dbd4d000609181400m4fed986csad9f39a4c2c7f97@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0609181352310.23069@localhost>

On 9/18/06, Martin Jambon <martin1977@laposte.net> wrote:
> On Mon, 18 Sep 2006, Denis Bueno wrote:
> > Why doesn't the following work in a function?
> >
> >     {M1.instance with x = 20}
>        ^^^^^^^^^^^
>        this is an arbitrary expression, it doesn't have to come from the
>        module where the record type is defined, so you need to specify it
>        too.
>

Makes sense. Thanks.

-Denis


  reply	other threads:[~2006-09-18 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-18 20:22 Denis Bueno
2006-09-18 20:58 ` [Caml-list] " Martin Jambon
2006-09-18 21:00   ` Denis Bueno [this message]
2006-09-18 21:16     ` Yoann Padioleau

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=6dbd4d000609181400m4fed986csad9f39a4c2c7f97@mail.gmail.com \
    --to=dbueno@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=martin1977@laposte.net \
    /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).