> On 21 Jan 2020, at 22:37, Richard Hainsworth <rnhainswo...@gmail.com> wrote: > 2) 'returns' in the declaration (not the part in the block) used to be used, > but for some arcane reason that I never really understood, it is deprecated.
Not sure it is *the* reason, but the return type is part of the signature of a block. A signature of a block is expressed as ":()", not allowing anything outside of the parentheses. sub a() returns Int { }; dd &a.signature; # :( --> Int)