Repository navigation
Mypy Compatibility
xfp is now compatible with mypy 🚀
almost compatible with pyright, not yet
Features
Xdict:
New collection type, allowing usage of the functional programming with dictionary.
Read the doc !
Xlist:
- fold() / fold_left() / fold_right() methods have now a standard syntax. The curried syntax, when existing is deprecated (will be removed in 2.0)
- min_fr() and max_fr() methods added (min and max can fail for an empty list)
- appended() / prepended() / inserted() methods added
Xlist / Xiter:
- appended() / prepended() methods added
Refactor
- Xiter get() method optimized
CI/CD
Publishing to PyPI is now automated via a Github Workflow. No more manual actions needed
Documentation
- Xdict documented
- updates related to mypy compatibility
- typing conventions and immutability sections added to a functionnal programming
- github CI/CD described in HOW TO CONTRIBUTE section of the README