cuelang.org/go@v0.10.1/cue/testdata/export/009.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  -- in.cue --
     4  {
     5  	a: 5 * [int]
     6  	a: [1, 2, ...]
     7  	e: [...int]
     8  	e: [1, 2, ...]
     9  	f: [1, 2, ...]
    10  }
    11  -- out/def --
    12  a: [1, 2, int, int, int]
    13  b: <=5*[int] & [1, 2, ...]
    14  c: (>=3 & <=5)*[int] & [1, 2, ...]
    15  d: >=2*[int] & [1, 2, ...]
    16  e: [1, 2, ...int]
    17  f: [1, 2, ...]
    18  -- out/compile --
    19  --- in.cue
    20  {
    21    {
    22      a: (5 * [
    23        int,
    24      ])
    25      a: [
    26        1,
    27        2,
    28        ...,
    29      ]
    30      e: [
    31        ...int,
    32      ]
    33      e: [
    34        1,
    35        2,
    36        ...,
    37      ]
    38      f: [
    39        1,
    40        2,
    41        ...,
    42      ]
    43    }
    44  }
    45  -- out/eval/stats --
    46  Leaks:  3
    47  Freed:  13
    48  Reused: 10
    49  Allocs: 6
    50  Retain: 7
    51  
    52  Unifications: 16
    53  Conjuncts:    37
    54  Disjuncts:    20
    55  -- out/eval --
    56  (struct){
    57    a: (#list){
    58      0: (int){ 1 }
    59      1: (int){ 2 }
    60      2: (int){ int }
    61      3: (int){ int }
    62      4: (int){ int }
    63    }
    64    e: (list){
    65      0: (int){ 1 }
    66      1: (int){ 2 }
    67    }
    68    f: (list){
    69      0: (int){ 1 }
    70      1: (int){ 2 }
    71    }
    72  }