Is function overloading supported in q?

Despite the fact that many native functions are overloaded, no. The last function definition simply overwrites the prior ones.

q)f: {[x]}
q)f: {[x; y]}
q)f
{[x; y]}
q)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.