This file is decidedly not clang-formatted, and running clang-format indeed turns the lambda formatting into spaghetti.  I'll leave it for now and defer to the code formatting zealots who surely will visit upon this file if they find it necessary at some point \U0001f62c 