...
1-- in.cue --
2#A: _
3
4#N: #A & {
5 _E: {
6 name: "hello"
7 }
8}
9
10l: #N
11-- out/eval/stats --
12Leaks: 0
13Freed: 8
14Reused: 4
15Allocs: 4
16Retain: 0
17
18Unifications: 8
19Conjuncts: 13
20Disjuncts: 8
21-- out/eval --
22(struct){
23 #A: (_){ _ }
24 #N: (#struct){
25 _E: (#struct){
26 name: (string){ "hello" }
27 }
28 }
29 l: (#struct){
30 _E: (#struct){
31 name: (string){ "hello" }
32 }
33 }
34}
35-- out/compile --
36--- in.cue
37{
38 #A: _
39 #N: (〈0;#A〉 & {
40 _E: {
41 name: "hello"
42 }
43 })
44 l: 〈0;#N〉
45}
View as plain text