Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unbind (8.16 sec)

  1. doc/go1.17_spec.html

    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    with receiver type <code>*Point</code>,
    to the base type <code>Point</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </li>
    <li>
    	Both types have identical structure and their element types
    	unify exactly.
    </li>
    <li>
    	Exactly one type is an <a href="#Type_inference">unbound</a>
    	type parameter with a <a href="#Core_types">core type</a>,
    	and that core type unifies with the other type per the
    	unification rules for <code>≡<sub>A</sub></code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top