Skip to content
This repository was archived by the owner on Jan 31, 2026. It is now read-only.
This repository was archived by the owner on Jan 31, 2026. It is now read-only.

add predicate function builder #73

@katunilya

Description

@katunilya

In order to provide even better and consistent interface for iterable.filter
functions of all kinds it seems useful to provide some builder function for
predicates - callables that take some object and return boolean.

First of all I promote separation for "simple" and "complex" predicates,
where "simple" predicates look like:

Basically I propose the following functions:

  • all_
  • any_

And buider class where (lowercase like built-in python map or filter).

Metadata

Metadata

Assignees

Labels

featNew feature or requestminorCompleting this issue should bump minor version

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions