Making associatvie array from array of pairs

Philippe Sigaud philippe.sigaud at gmail.com
Tue Dec 24 08:58:50 PST 2013


On Tue, Dec 24, 2013 at 3:07 PM, monarch_dodra <monarchdodra at gmail.com> wrote:
>> I don't know. I really consider `reduce` a nice way to collapse a
>> structure down to a value. I find it in many different places. Sure,
>> map and filter are more usual, but reduce is not far behind.
>
>
> you use map and filter to reduce a structure down to a value? Or do you mean
> it's just something you use often?

Something I use often. Same here, btw: everyday, there are posts code
with map in it.


More information about the Digitalmars-d-learn mailing list