Skip to main content

Lazy Replacements for »any« and »all« with lambdas

Project description

Sometimes, one would like to use the Python built-ins «any» and «all», but combined with the advantages of Short Circuit Evaluation.

The package laa provides two methods: lazy_any and lazy_all.

Detailed description of the basic idea (german): https://juergen.rocks/art/python-any-all-lazy-short-circuit-evaluation.html

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page