On 2020-01-21 14:03, Elizabeth Mattijsen wrote:
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)


Not sure what you just said.

Reply via email to