Re: 'returns' vs 'of'

2008-04-13 Thread Brandon S. Allbery KF8NH
On Apr 13, 2008, at 1:28 , John M. Dlugosz wrote: I don't like the assignments of 'returns' and 'of'. I think it is easily confused. I've written foo (Int $x) returns Int I think the main problem here is that "of" is there only for completeness; one would normally say our Int sub foo

'returns' vs 'of'

2008-04-12 Thread John M. Dlugosz
I don't like the assignments of 'returns' and 'of'. I think it is easily confused. I've written foo (Int $x) returns Int in examples and nobody noticed. As formal documentation, that scans right as the outer perceived return value type. But no, it's supposed to be foo (Int $x) of Int inst