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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laa-0.1.3.tar.gz (7.0 kB view hashes)

Uploaded Source

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