10
Here's what I (and the majority of the community) have been going by, which I think works well:
Named functions/lambdas are acceptable (def foo(n): n+1, foo = lambda n: n+1, int foo(int n) { return n+1; }, auto foo = [](int n){ return n+1; }).
Unnamed functions/lambdas are acceptable (lambda n:...