On Thursday, 20 November 2014 at 15:31:28 UTC, bearophile wrote:
Kent:

I am reading the book 《D Cookbook》
In Page 36,this code can't be complied:

auto filtered =  filter!((a) => Clock.currTime() -
a.timeLastModified >> 14.days)(sorted);

Perhaps:

mySorted.filter!(a => Clock.currTime - a.timeLastModified > 14.days);

Bye,
bearophile

Thank you for your reply.
But it still doesn't work.

Reply via email to