Coming from the object-oriented programming background, I missed the ease of looking up which methods can be applied to an object. I understand the beauty of multiple dispatch but I don’t know of a good way to figure out all the methods that are relevant to me.
Is there any way to:
- List all methods that returns a specific type
- List all methods that take a specific type in any of the arguments.
Ideally, the type hierarchy is respected so looking for methods that return Integer should return methods that return any type of Integers, as in:
Integer BigInt Bool Signed Int128 Int16 Int32 Int64 Int8 Unsigned UInt128 UInt16 UInt32 UInt64 UInt8