mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* POC of calling user functions from core * rename to BContinuation * fix annotation warnings * fix annotation warnings 2 * some cleanup, comments * add more params to filter * add more tests * fix stack issues, wip determine what to do with printStack helper testing function * print stack only for debug; increase OTContinuation to 100 * docs * remove debugging leftovers
5 lines
120 B
Text
5 lines
120 B
Text
print( array{ 1, 2, 3, 4, 5 }.filter( @IsEven ) );
|
|
|
|
function IsEven( number )
|
|
return ( number % 2 ) == 0;
|
|
endfunction
|