source: to-imperative/trunk/samples/Syntax/sentence1.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
File size: 147 bytes
Line 
1$use StdIO;
2
3$func Main = e;
4Main =
5  $trap XXX : {
6    e $fail;
7    e $trap $fail $with {};
8    e $error;
9  } $with {
10    e = <PrintLn OK>;
11  };
12
Note: See TracBrowser for help on using the repository browser.