Source

roy / test / functions.roy

Full commit
Brian McKenna 61bd14a 






1
2
3
4
5
6
7
8
let named x = x
let anon = fn x = x

let multiArgs x y z = x
let anonMultiArgs = fn x y z = x

console.log (named "Hello") (anon "world")
console.log (multiArgs "Hello" "world" "!") (anonMultiArgs "world" "!" "Hello")