First class lazy Interval
Daniel Keep
daniel.keep.lists at gmail.com
Fri Feb 27 07:33:15 PST 2009
Andrei Alexandrescu wrote:
> Daniel Keep wrote:
>> I don't think this should be in the language... it just feels like there
>> isn't enough use for it. Especially not when you can implement it as a
>> library.
>>
>> As proof, I've attached an implementation of an integral interval.
>> Here's a sample of usage (the program prints this if you run it):
>
> This is pretty darn cool!
>
> Andrei
Thanks.
On the off chance anyone wants to actually use it, I hereby release the
interval module attached to my previous post into the public domain.
Anyway, it's 2:30 am here, so I'm off to bed. :P
-- Daniel
More information about the Digitalmars-d
mailing list