Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for OUTPUT (0.03 seconds)

  1. doc/go_spec.html

    	for yield(f0) {
    		f0, f1 = f1, f0+f1
    	}
    }
    
    // print the Fibonacci numbers below 1000:
    for x := range fibo {
    	if x >= 1000 {
    		break
    	}
    	fmt.Printf("%d ", x)
    }
    // output: 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987
    
    // iteration support for a recursive tree data structure
    type Tree[K cmp.Ordered, V any] struct {
    	left, right *Tree[K, V]
    	key         K
    	value       V
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top