// test various coercion situations // real[4] xs = {1, 1.5, 2, 2.4}; real[] ys = {1.2, 2, 4}; strand S (real x') { output real x = x'; int i = 1; update { x = (x if true else i); } } collection { S(x+y) | x in xs, y in ys }