Ad
  • Custom User Avatar

    It's because anonymous functions like that are very much inspired by the lambda calculus where you'd write λx. f x for python's lambda x: f(x) and it's just a "pythonization" of that syntax.