A polyglot’s guide to multiple-dispatch