source: to-imperative/trunk/samples/Syntax/assign1.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: 231 bytes
Line 
1$use StdIO;
2
3$func Main = e;
4Main =
5  A B :: e1,
6  A B :: A t1,
7  t1 :: t1,
8  t1 t1 :: t2 t1,
9  t1 t2 :: t2 t1,
10  A B t1 :: t1 t3 t4,
11  t1 (t1 t2) (t1 t3) :: t2 t1 t3,
12  t1 t2 t3 :: t2 t3 t1,
13  (t2 t3) (t1 t3) (t1 t2) :: t1 t2 t3;
Note: See TracBrowser for help on using the repository browser.