Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBs with lambdas #41

Open
michaelbjames opened this issue Mar 3, 2023 · 0 comments
Open

PBs with lambdas #41

michaelbjames opened this issue Mar 3, 2023 · 0 comments
Labels
enhancement New feature or request PB

Comments

@michaelbjames
Copy link

In a pilot, a participant used defaultdict, which takes a lambda to initialize values in a dictionary when the key isn't present.
The lambda didn't create a pleasant experience.

image

Suggestion:

  1. instead of function <lambda> ..., perhaps print the text of the lambda function?
  2. instead of function <lambda> ..., just the word lambda 1, lambda 2, where each number represents a unique function.
@michaelbjames michaelbjames added enhancement New feature or request PB labels Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PB
Projects
None yet
Development

No branches or pull requests

1 participant