Kevlin Henney on Nostr: The limitations of Python's lambdas grate as much as their syntactic inconsistency. I ...
The limitations of Python's lambdas grate as much as their syntactic inconsistency. I can live with the latter, but the former is a continual source of frustration.
Does anyone know of any serious proposals to improve lambdas, such as allow them to hold statements?
Published at
2025-07-10 10:57:41 UTCEvent JSON
{
"id": "09129573df2d14a072e5cfeedeef55c5bbfca51a15f5e9ece36bba08ba4fcb54",
"pubkey": "13ea7950fb65a144c9614b29ea006178c9a1766092fef9490cddc95dcf48bb7f",
"created_at": 1752145061,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/kevlin/statuses/114828578749897646",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "The limitations of Python's lambdas grate as much as their syntactic inconsistency. I can live with the latter, but the former is a continual source of frustration.\n\nDoes anyone know of any serious proposals to improve lambdas, such as allow them to hold statements?",
"sig": "1cd28c7a6f7a87115177b06a74f57857c41740f7e55485302058ea47cc58720fa23d86bcffbc907c4e5c8a4d4cfcfc8ad68c961ef689db3c86243c8c161deea9"
}