Skip to content

Instantly share code, notes, and snippets.

@ajtulloch
Created February 19, 2013 16:10
Show Gist options
  • Save ajtulloch/4987239 to your computer and use it in GitHub Desktop.
Save ajtulloch/4987239 to your computer and use it in GitHub Desktop.
int main(int argc, char** argv) {
using namespace folly::gen;
auto v = from (m) | mapped(f) | as<vector>();
return v.size();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment