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 details)

Uploaded Source

File details

Details for the file laa-0.1.3.tar.gz.

File metadata

  • Download URL: laa-0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for laa-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0a5320f8b2cb138e95ba2ac075b9d47ab09088781ab449b52e4462619e293957
MD5 dd78d1197d1e6f20b558f5c32ddec6fd
BLAKE2b-256 1e54910ddec05144d4efdeeb9d7ced0b50a9ea4c1e729057b9dddaaabd51d1c6

See more details on using hashes here.

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