Open jpluscplusm opened 9 months ago
Given
[{a:1,b:2,c:"foo"},{a:1:b:2,c:"bar"}]
... how can we assert that the synthetic list formed from just the a and b fields is unique? I.e. with an error if presented with this example.
a
b
In other words (after associative lists land) if we treat that synthetic list as a set, is there a unification failure across the critical fields?
The unused content at https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1174648/28 (patchset 28) could be re-used here.
Given
... how can we assert that the synthetic list formed from just the
a
andb
fields is unique? I.e. with an error if presented with this example.In other words (after associative lists land) if we treat that synthetic list as a set, is there a unification failure across the critical fields?