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 Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page