
Oct. 11, 2021
3:45 p.m.
We drew up a draft syntax to clarify the three styles that have been discussed in typing-sig: - shorthand syntax, which supports exactly what Callable currently supports - XOR syntax, which would allow a def-like style in addition to shorthand - hybrid syntax, which extends shorthand to support named, default-value, and variadic args https://docs.google.com/document/d/1oCRBAAPs3efTYoIRSUwWLtOr1AUVqc8OCEYn4vKY... Within the discussion in typing-sig, - everyone would like to see support for at least shorthand - a little over half would like to have the more complex hybrid option - I don't think anyone has XOR as their first choice, but several of us think it might be better than hybrid