Bases: titus.signature.Signature
PFA function signature for ad-hoc polymorphism (list of different signatures supported by the function).
Parameters: | cases (list of titus.signature.Sig) – signatures supported by this function; the order of this list is the order in which Titus will attempt to resolve the signatures (the first one that matches is used) |
---|
Determine if this list of signatures accepts the given arguments for a given PFA version number.
Parameters: |
|
---|---|
Return type: | (titus.signature.Sig, list of titus.datatype.AvroType, AvroType) |
Returns: | (matching signature, resolved argument types, resolved return type) if one of the signatures accepts the arguments; None otherwise |