On Wednesday, January 25, 2017 at 5:48:44 PM UTC-5, John Souvestre wrote:
>
> Does this mean that there is no way to call this function? 
>
>    func h(func()(int, bool)) {} 
>

No, you can call it by passing in a function value f itself instead of its 
result values f(). Using f in the top post:

h(f)    // OK
h(f())  // bad

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to