http://d.puremagic.com/issues/show_bug.cgi?id=7723
Summary: @property filter/filter
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2012-03-18 05:51:03 PDT ---
I suggest to turn filter and map into @properties, so thanks to UFCS you are
allowed to use them like this, that is quite handy:
[1, 2, -3, 4].filter!(x => x > 0).map!(x => x ^^ 0.2).writeln();
See also Bug 7722
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------