On 6/6/10, bearophile <bearophileh...@lycos.com> wrote: > At 9.30 you can see the switch used on a type type :-) > You can see a similar example here: > http://golang.org/src/pkg/exp/datafmt/datafmt.go
That example looks really similar to the D1 "D-style Variadic Functions" example here: http://digitalmars.com/d/1.0/function.html Of course, the D1 thing there is an if/else/if chain instead of a switch, but they really look to operate basically the same.