auto xplusone = [](auto x){ return x + 1; };
auto foo = [](auto n){ return [=](auto i) mutable { return n += i; }; };