http://d.puremagic.com/issues/show_bug.cgi?id=8712

           Summary: There is no staticFilter in std.typetuple
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: void.unsig...@gmail.com


--- Comment #0 from void.unsig...@gmail.com 2012-09-23 10:26:09 PDT ---
The standard module for type list manipulation there are metafunctions such as
staticMap and ReplaceAll and EraseAll, but there is no staticFilter.
staticFilter is good, because filter, like map is foundamental operation of
functional-programming like lists. Also, it is more general-purpose: EraseAll
can be implemented in terms of staticFilter. 
As a use-case, we may use the function as follows:
alias staticFilter!(isInputRange, R1, R2, R3) InputRanges;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to