[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Denis Bueno <dbueno@g...> |
| Subject: | Re: [Caml-list] Record field update using 'with' syntax |
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