[
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: | 1998-04-20 (14:13) |
From: | Pascal Brisset <brisset@r...> |
Subject: | Re: Non-destructive record update?? |
Pierre Weis writes: > We propose the notation {expr with label1 = e1; lable2 = e2 ... } to > mean the record returned by the expression expr with fields label1, > label2, ... set to values e1, e2, ... Is it a good idea to ``hide'' the copy of one object behind a simple keyword ? I think such operation should be more explicit. Something with the 'new' keyword like new expr with {label1 = e1; lable2 = e2 ... } makes things a bit clearer. Anyway, a function Record.copy would be enough ! --Pascal