Daniel Gibson wrote: > Or maybe, with more magic and support within the D compiler > s.main(i); > s.foo(42,x); We can do that today - write an opDispatch that forwards to an associative array. It's actually pretty trivial.