@function foo($list) { @return call(bar, $list); } @function bar($list, $args...) { @return length($list); } test { test: foo(1 2 3); }