Lazy lists (i.e. Haskell-like ranges) for Python. Latest release | Current code | API documentation
# Set up a virtualenv.
python3 -m venv venv
source venv/bin/activate
# Install from PyPI
pip install lange
cd my-project
git clone https://github.com/davips/lange ../lange
pip install -e ../lange
- Stable floating-point range generation, e.g.:
0.8 - 0.6 == 0.2
up to 28 digits (customizable). - Infinite
[1 2 ...]
or bounded. - O(1) access/evaluation
lst[3443]
<>
<>
Please access this website for more information.