Ovid publiustemp-perl6language2-at-yahoo.com |Perl 6| wrote:
Implemented as:method read ( --> Boolean ) { ... } (How do I specify no args and a Boolean return type?)
Take your pick: our Bool method read () { ... } method read (-->Bool) { ... } method read () of Bool { ... }