Re: RFC 57 (v1) Subroutine prototypes and parameters

[email protected] (Chaim Frenkel) 07 Aug 2000 14:35:42 -0400
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
>>>>> "BL" == Bart Lateur <[email protected]> writes:

BL> p.s. Has anybody already proposed Lisp's delayed evaluation of argument
BL> expressions? We could create our own shortcut functions, then. :-)

Way back on p5p, a while ago

	lazy

as in

	grep { ... } lazy &foo, &bar, &zed

The opinion seemed to be going toward having the caller determine
laziness. 

The alternative (or simultaneous capablity) was

	sub foo :lazy () {}

It might be acceptable to have it as an attribute of the argument/parameter.

<chaim>
-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
[email protected]				               +1-718-236-0183