t3. I had forgotten the 'return' in the expansion. Another example of the

'context awareness' required by the ^, which needs to become either:

if nil!=_h_param {

return h(_h_param)

}

OR, if h() returns no values:

if nil!=_h_param {

h(_h_param)

return

}

So:

x, ^h := f()

Needs to 'expand' to:

// iff _h_param not previously defined for ^h, where _h_param is

scope-unique,

// and HP is the parameter type of h

var _h_param HP

x, _h_param = f()

if nil!=_h_param {

return h(_h_param)

// OR, if _h_param doesn't return any values

h(_h_param)

return

}

And in the rewrite of the code from net/http/request.go, io.WriteString is

on line 353 of the ^ version.

Thanks again,

C

--

You received this message because you are subscribed to the Google Groups "golang-nuts" group.

To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.