Hello there. I'm working making clojure-style mult...
# announcements
z
Hello there. I'm working making clojure-style multimethods for kotlin, and I'm wondering about arity overloading. In the standard lib, functions are defined as the interfaces Function1, Function2, etc, with corresponding numbers of type parameters and invoke() defined independently for each. Is this the only way to do it, or is there a way to do it so that I don't repeat myself?