mul/example.mul

10 lines
158 B
Plaintext

let main = || {
let result = sum_equals(1, 2, 3);
print(result)
};
let sum_equals = |x, y, expected| {
let sum = add(x, y);
equals(sum, expected)
};