Synopsis:
Here is an example.
i1 : f = method(SingleArgumentDispatch=>true); |
i2 : f ZZ := i -> -i; |
i3 : f Sequence := S -> reverse S; |
i4 : f 44 |
i5 : f(3,4,5,6) |
Normally, at most three arguments could be handled by such a method function, and the types would have to be considered separately.
See also: