Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/FunctionLiteral.sl @ 18737:b1b5bfe4c8a7
Show group name as tooltip in IGV
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 19 Dec 2014 15:50:09 -0800 |
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); }