source: to-imperative/trunk/samples/Syntax/iter2.rf @ 4085

Last change on this file since 4085 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: 174 bytes
Line 
1$use StdIO;
2
3$func Main = e;
4Main =
5  {
6    /*emtpy*/ $iter {
7      e1 I :: e1, e1;
8    } :: e1,
9      <WriteLn e1>,
10      e1 : I I I =
11      e1;
12  } :: e1,
13  <WriteLn e1>;
14
Note: See TracBrowser for help on using the repository browser.