source: to-imperative/trunk/samples/Syntax/iter4.rf

Last change on this file was 4085, checked in by yura, 11 years ago
  • To new syntax. Three files are have errors still.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 164 bytes
Line 
1$use StdIO;
2
3$func Main = e;
4Main =
5  { A; B; } : { s1 = s1; } $iter C :: s1, <PrintLn s1> =
6  /*empty*/ $iter e1 : { s = A; e = B; } :: e1, e1 : v = <PrintLn e1>;
Note: See TracBrowser for help on using the repository browser.