source: to-imperative/trunk/samples/Syntax/iter1.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: 170 bytes
Line 
1$use StdIO;
2
3$func Main = e;
4Main =
5  1 2 3 : e.nums,
6  e.nums $iter {
7    e.nums : s.n e.rest =
8      <PrintLn s.n>,
9      e.rest;
10  } :: e.nums,
11  e.nums : /*empty*/;
12
Note: See TracBrowser for help on using the repository browser.