[Issue 7723] New: @property filter/filter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 18 05:50:48 PDT 2012


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: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 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: -------


More information about the Digitalmars-d-bugs mailing list