Your solution is certainly nice. It has the same limitation that mine does. 
I'll take a look, I like how you don't have to modify the funcmap in yours.
--
Michael

On Friday, June 2, 2017 at 4:41:14 AM UTC-5, rog wrote:
>
> On 2 June 2017 at 10:35, roger peppe <rogp...@gmail.com <javascript:>> 
> wrote: 
> > Here's a proof-of-concept of a somewhat general mechanism 
> > for making template functions concurrent. It involves some 
> > fun reflection code (first time I've used FuncOf, MakeFunc, 
> > StructOf and MapOf for real). 
> > 
> >  https://play.golang.org/p/7qXx5pCh9N 
>
> Note that it won't work correctly if you pass any functions whose results 
> are used in template expressions to Execute. 
>

-- 
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