Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/FunctionLiteral.sl @ 19389:e6d78307bdc9
Remove unused import.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 15 Feb 2015 22:38:29 +0100 |
parents | ff3136ecb5a7 |
children |
line wrap: on
line source
function add(a, b) { return a + b; } function sub(a, b) { return a - b; } function foo(f) { println(f(40, 2)); } function main() { foo(add); foo(sub); }