test iterators.
This commit is contained in:
parent
a519afe631
commit
9e881550a7
1 changed files with 6 additions and 0 deletions
|
@ -1,10 +1,16 @@
|
|||
const n:int = 42
|
||||
|
||||
|
||||
node plusone(a:int) returns (o:int)
|
||||
let
|
||||
o = a+1;
|
||||
tel
|
||||
|
||||
fun f() returns (o:int^n)
|
||||
let
|
||||
o = mapi<<n>> plusone ();
|
||||
tel
|
||||
|
||||
node g(a:int^n) returns (o:int^n)
|
||||
let
|
||||
o = map<<n>> plusone (a);
|
||||
|
|
Loading…
Reference in a new issue