[Issue 6110] std.functional: unaryFun should take an array alias.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 2 10:49:11 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=6110


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #2 from bearophile_hugs at eml.cc 2014-02-02 10:49:08 PST ---
(In reply to comment #1)
> I think this was before lambdas. Do you still think this is necessary now that
> you can write:
> 
> filter!(a => bbb[a])
> 
> ???

I think the enhancement request by Timon is still a nice thing to ask. Using
arrays and associative arrays as functions for the higher order functions is
handy, and it's done often in the Clojure language.

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


More information about the Digitalmars-d-bugs mailing list