cuelang.org/go@v0.13.0/cue/testdata/export/019.txtar (about)

     1  raw: true
     2  -- in.cue --
     3  {a: >=0 & <=10, b: "Count: \(a) times"}
     4  -- out/def --
     5  a: >=0 & <=10
     6  b: "Count: \(a) times"
     7  -- out/compile --
     8  --- in.cue
     9  {
    10    {
    11      a: (>=0 & <=10)
    12      b: "Count: \(怈0;a怉) times"
    13    }
    14  }
    15  -- out/eval/stats --
    16  Leaks:  0
    17  Freed:  3
    18  Reused: 1
    19  Allocs: 2
    20  Retain: 0
    21  
    22  Unifications: 3
    23  Conjuncts:    9
    24  Disjuncts:    3
    25  -- out/eval --
    26  (struct){
    27    a: (number){ &(>=0, <=10) }
    28    b: (_|_){
    29      // [incomplete] b: invalid interpolation: non-concrete value >=0 & <=10 (type number):
    30      //     ./in.cue:1:20
    31    }
    32  }