Differences From Artifact [da81646a4f1f8106]:
- File
sample/helloworld.pmy
- 2010-11-25 23:05:29 - part of checkin [5dfef32124] on branch trunk - helloworld sample and argv sample merged (user: kinaba) [annotate]
To 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]
1 -# omake. how to use argv
1 +print( "Hello, World" );
2 +
3 +# Omake. How to use argv
2 4 def print_list(xs)
3 5 {
4 6 case xs when {car: x, cdr: xs}: (
5 7 print(x);
6 8 print_list(xs)
7 9 )
8 10 };
9 11 print_list(argv);
10 -
11 -# here is the helloworld
12 -print( "Hello, World" );