Differences From Artifact [5a53203a60db5c54]:
- File
sample/helloworld.pmy
- 2010-11-09 15:19:20 - part of checkin [68546f3e9f] on branch trunk - several samples (user: kinaba) [annotate]
To 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]
1 -print("Hello, World!")
1 +# omake. how to use argv
2 +def print_list(xs)
3 +{
4 + case xs when {car: x, cdr: xs}: (
5 + print(x);
6 + print_list(xs)
7 + )
8 +};
9 +print_list(argv);
10 +
11 +# here is the helloworld
12 +print( "Hello, World" );