cuelang.org/go@v0.10.1/cue/testdata/eval/expressions.txtar (about)

     1  -- in.cue --
     2  a: 1
     3  b: 1 + 2
     4  c: 3 - 1
     5  d: 5 rem 3
     6  -- out/eval/stats --
     7  Leaks:  0
     8  Freed:  5
     9  Reused: 3
    10  Allocs: 2
    11  Retain: 0
    12  
    13  Unifications: 5
    14  Conjuncts:    5
    15  Disjuncts:    5
    16  -- out/eval --
    17  (struct){
    18    a: (int){ 1 }
    19    b: (int){ 3 }
    20    c: (int){ 2 }
    21    d: (int){ 2 }
    22  }
    23  -- out/compile --
    24  --- in.cue
    25  {
    26    a: 1
    27    b: (1 + 2)
    28    c: (3 - 1)
    29    d: (5 rem 3)
    30  }