On 20/06/12 23:00, bearophile wrote: > std.variant.Algebraic? Interesting thought. I fear it's a no-go as you'd have to specify up-front all the possible agent choices, but I'll have a play ... Thanks very much! :-)