-
Notifications
You must be signed in to change notification settings - Fork 15
filter type signature, and other typing ideas #36
Copy link
Copy link
Open
Description
This discussion started in PR #35.
Summary:
- Goal 1: In the signature of the
filterfunction, indicate the type of the first argument. I started work on this in PR 35; I'm planning to fix and submit a new PR.
Benefit: With this change, an editor would be able to autocomplete (and then type-check) the following:flu(["foo", "bar"]).filter(lambda x: x.startswi - Goal 1b: Make a similar change in
map, which currently has a# type: ignorecomment in its impl. - Goal 2: Look at the test suite to see which
flu()...expressions have type warnings; improve.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels