Working functionally with third party libraries

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 16 12:35:45 PDT 2015


Hi

using mongo with vibe.d is easy. But I would like to skip the 
foreach on MongoCursor?

I mean, I want to use map!, filter! and reduce! on the resulting 
docs. Is there a fast way to convert MongoCursor to an array 
without resolving to ugly for loops with appender! ?


More information about the Digitalmars-d-learn mailing list