On Wed, Feb 12, 2014 at 4:20 PM, Jake Bolewski <[email protected]>wrote:
> If you are not dispatching on the type, why not allow the parameter to be > duck typed? > sometimes union typealiases can be helpful > > typealias StringOrSymbol Union(String, Symbol) > > test(x::StringOrSymbol) = symbol(x) > Yes, good where you have control of the signature - but this is in the general case when you're calling functions written by others (and you don't want to go around writing piles of overloads wrappers).
