Skip to content

Multi arity functions #2570

Answered by Kodiologist
madhat2r asked this question in Q&A
Discussion options

You must be logged in to vote

They were removed in #1842. Use multidispatch from PyPI instead.

Unless by "multi-arity" you just mean "variadic". That's accomplished with optional arguments, #*, and #**; see the documentation of defn.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kodiologist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants