prune with dirEntries

Joshua Niehus jm.niehus at gmail.com
Fri Nov 30 13:11:48 PST 2012


On Friday, 30 November 2012 at 19:52:26 UTC, Jonathan M Davis 
wrote:
> If you're compiling with -property, filter must have the parens 
> for the
> function call as it's a function, not a property. The !() is 
> for the template
> arguments and is separate from the parens for the function 
> call. That means
> that if you're compiling with -property and using UFCS, then 
> you end up with
> range.filter!(pred)(), whereas you have range.filter!(pred).
>
> - Jonathan M Davis


ahh...  well i hope those silly parens never become mandatory. 
Ruby seems to be doing just fine with or without them.
Sorry Jonathan ;)



More information about the Digitalmars-d-learn mailing list