Commit 76abea7c authored by Robert Griesemer's avatar Robert Griesemer

- fixed a test

- added extra basic type aliases
- added select statement

SVN=117448
parent d4d19fad
......@@ -30,7 +30,7 @@ func Sieve() {
go Generate(ch); // Start Generate() as a subprocess.
for {
prime := <ch;
printf("%d\n", prime);
print "%d\n", prime;
ch1 := new(chan int);
go Filter(ch, ch1, prime);
ch = ch1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment