Respond to an unknown method call: Difference between revisions
m
→{{header|Julia}}
mNo edit summary |
|||
Line 573:
=={{header|Julia}}==
Julia will throw a MethodError exception if its multiple dispatch cannot find a proper function for a given set of arguments. This exception can be caught and resolved within a generically typed function that is not specific as to the object type of its arguments.
<lang julia>
function add(a, b)
|