load clinker; const funcs = { 'test( p : int ) => float' , 'test2( p : float ) => string' , 'test_string( s : string ) => float' , 'test_dao_list( ls : list )' , 'test_array_short( p : array )' , 'test_array_float( p : array )' , # 'test_array_double( p : array )' , 'test_stream( s : io::Stream )' , } const types = { 'MyType' } load link( 'sample', funcs, types ) import { test, test_dao_list, test_array_float, test_array_short, test2, test_stream } var x = [ 1, 2, 3, 4 ] test( 123 ); test_dao_list( { 1, 2, 3 } ); test_array_float( [ 1.0, 2, 3 ] ); #test_array_double( [ 1.0, 2, 3 ] ); test_array_short( x ); var s = test2( 123.5 ); io.writeln( s, x ) test_stream( io::stdio ) #test_stream( io::stderr ) #test( 'abc' ); # compile error;