Skip to content

filter type signature, and other typing ideas #36

@james-pcdr

Description

@james-pcdr

This discussion started in PR #35.

Summary:

  • Goal 1: In the signature of the filter function, 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: ignore comment in its impl.
  • Goal 2: Look at the test suite to see which flu()... expressions have type warnings; improve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions