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.2.tar.gz (6.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for laa-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f4c3aad6b6323fdfd20034a31d7094fa9e8e2b3ca7cc1e75e683563f5b44d9df
MD5 6ec73c4cefe8020d283a3e75de9c071f
BLAKE2b-256 6599d948ee99c2cbdb355831d676d231614927641a5b33fd37f384209835dc01

See more details on using hashes here.

Supported by

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