develooper Front page | perl.perl6.language | Postings from June 2005

Re: return() in pointy blocks

Thread Previous | Thread Next
Larry Wall
June 8, 2005 10:43
Re: return() in pointy blocks
Message ID:
On Wed, Jun 08, 2005 at 12:37:22PM +0200, "TSa (Thomas SandlaƟ)" wrote:
: BTW, is -> on the 'symbolic unary' precedence level
: as its read-only companion \ ?.

No, -> introduces a term that happens to consist of a formal signature
and a block.  There are no ordinary expressions involved until you
get inside the block.  (Or set a default on one of the parameters, to
the extent that those are ordinary expressions.)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About