Could be but with larger logic just passing a function is cleaner than making a massive list comp.
yes, if you have a named function, you can use that in map/filter, I'm just saying that you shouldn't use lambda there