Differences From Artifact [0b93991cb774eeae]:
- File
sample/helloworld.pmy
- 2010-11-27 11:46:26 - part of checkin [203e4cb208] on branch trunk - fixed automatic memoization bug (whole part of the contexts are now used as the memo key) (user: kinaba) [annotate]
To Artifact [57f3802ead548897]:
- File
sample/helloworld.pmy
- 2010-11-27 14:23:54 - part of checkin [005474ba5b] on branch trunk - changed: not to lift _|_ (user: kinaba) [annotate]
1 print( "Hello, World" ); 1 print( "Hello, World" );
2 2
3 # Omake. How to use argv 3 # Omake. How to use argv
4 def print_list(xs) 4 def print_list(xs)
5 { 5 {
6 case xs when {car: x, cdr: xs}: ( | 6 case xs
7 print(x); <
8 print_list(xs) | 7 when {car: x, cdr: xs}: (print(x); print_list(xs))
9 ) <
> 8 when {} : ()
10 }; 9 };
11 print_list(argv); 10 print_list(argv);