Range projection: equivalent of LINQ select in D? -


is there linq select in d?

i want remove container elements contained in member of objects in given array. thought nice if do:

mycontainer.remove( myarray.select!( => a.member ) ) ; 

it called map:

import std.algorithm;  mycontainer.remove(myarray.map!(a => a.member)); 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -