[kepler-dev] Question about OrderedRecordToken
Edward A. Lee
eal at eecs.berkeley.edu
Fri Dec 4 06:51:05 PST 2009
Ben,
I have a question about ordered record tokens.
In the expression evaluator, I can do:
>> a = [x = 1, y = 2]
[x = 1, y = 2]
>> c = [y = 2, x = 3]
[y = 2, x = 3]
>> a + c
[y = 4, x = 4]
>> c + a
[y = 4, x = 4]
What determines the order in the result?
Also, if I do:
>> a.getType()
object({x = int, y = int})
This description of the type seems exactly the same as
the description I get from an (unordered) record token.
Is this a problem? (I don't really know...)
Thanks!
Edward
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eal.vcf
Type: text/x-vcard
Size: 351 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20091204/eebdfb5a/attachment.vcf>
More information about the Kepler-dev
mailing list