test_funcs.txt updated
parent
f6cc747c55
commit
f556df4101
|
@ -49,7 +49,7 @@ func intSeq() func() int {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
nextInt := intSeq();
|
nextInt := intSeq(intSeq(), intSeq(), intSeq(), intSeq(intSeq())); // рекурсия
|
||||||
|
|
||||||
fmt.Println(nextInt());
|
fmt.Println(nextInt());
|
||||||
fmt.Println(nextInt());
|
fmt.Println(nextInt());
|
||||||
|
|
Loading…
Reference in New Issue