Browse thread
Shallow copy of a record
[
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: | 2005-01-22 (04:27) |
From: | Chris King <colanderman@g...> |
Subject: | Shallow copy of a record |
Maybe I missed it in the docs, but is there a way to create a shallow copy of a record without modifying any of its contents? I know there's the {foo with a=b} construct, but this only works with at least one assignment; I want to create an unmodified copy of the record (akin to the {< >} construct for objects). Thanks!