On 27/02/2016 02:49, Marvin Humphrey wrote:
I went with the conservative approach, and used `$retval` for the return
value.

Would it be too magical to default to the name of the type and use
"retval" only when there's a clash?

Yes, that's reasonable. It should suffice to check whether the return type matches the invocant.

Nick

Reply via email to