blob: 0f1ebaf2989492a56922b6e76a0f7767048441de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$s = @@
def f(x):
return x + 1
def g(x):
return x * 2
@@;
$p = Python::f(Callable<(Int32)->Linear<Int32>>, $s);
$c = Python::g(Callable<(Linear<Int32>)->Int32>, $s);
select $c($p(1));
|