First class lazy Interval
Jesse Phillips
jessekphillips at gmail.com
Fri Feb 27 20:35:18 PST 2009
On Sat, 28 Feb 2009 02:33:15 +1100, Daniel Keep wrote:
> 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
Are you even allowed to release code to public domain that late at
night? :D
More information about the Digitalmars-d
mailing list