Back to the clean version

This commit is contained in:
Dan Buch 2012-09-01 22:37:29 -04:00
parent 4c196c93d9
commit 37ffe3c870

View File

@ -16,10 +16,8 @@ func fibonacci() func() int {
} }
func main() { func main() {
f1 := fibonacci() f := fibonacci()
f2 := fibonacci()
for i := 0; i < 10; i++ { for i := 0; i < 10; i++ {
fmt.Println("f1 ->", f1()) fmt.Println(f())
fmt.Println("f2 ->", f2())
} }
} }