Feature request: lazy as a type constructor

downs default_357-line at yahoo.de
Tue Sep 25 15:01:47 PDT 2007


Jarrett Billingsley wrote:
> "Janice Caron" <caron800 at googlemail.com> wrote in message 
> news:mailman.300.1190729504.16939.digitalmars-d at puremagic.com...
>> Please may we have "lazy" as a type constructor (as well as a
>> parameter storage class)? Currently I can declare a lazy array of
>> ints, but not an array of lazy ints. That means we can't have variadic
>> functions with lazy variadic parameters.
> 
> vote += real.max;
> 
> While we're at it.. make ref a type constructor too.  REF RETURNS WOOO can't 
> wait for those. 
> 
> 
OH PLEASE.
vote=real.infinity; // for both :D

 --downs aka mr. "I lost my key pair"



More information about the Digitalmars-d mailing list