| 1 |
We can do simplifications due to comprehensions! The conjuncts from |
| 2 |
lines 3 and 6 tie with those from 9, but the conjuncts from line 9 |
| 3 |
must win, because within line 9 there are no redundancies. |
| 4 |
|
| 5 |
-- a.cue -- |
| 6 |
s: { |
| 7 |
x: { |
| 8 |
port: 8080 |
| 9 |
} |
| 10 |
y: { |
| 11 |
port: 8080 |
| 12 |
} |
| 13 |
} |
| 14 |
#d: port: 8080 |
| 15 |
for k, v in s { |
| 16 |
s: "\(k)": #d |
| 17 |
} |
| 18 |
-- out/trim-v3 -- |
| 19 |
== a.cue |
| 20 |
s: { |
| 21 |
x: _ |
| 22 |
y: _ |
| 23 |
} |
| 24 |
#d: port: 8080 |
| 25 |
for k, v in s { |
| 26 |
s: "\(k)": #d |
| 27 |
} |
| 28 |
-- out/trim-v3-noshare -- |
| 29 |
== a.cue |
| 30 |
s: { |
| 31 |
x: _ |
| 32 |
y: _ |
| 33 |
} |
| 34 |
#d: port: 8080 |
| 35 |
for k, v in s { |
| 36 |
s: "\(k)": #d |
| 37 |
} |