bfbcompiler/doc/examples/use-case-2.txt

6 lines
130 B
Plaintext

function g = { x - 2: x < 3,
x^3: x >= 5,
x: x > 7
};
print(evaluate g in [3, 5, 7]);