function factorial(num: Int) => match(num) => { 0 => 1; else => num * factorial(num-1); }; print factorial(5); // 120