Skip to content

1.1.0 Release

Latest

Choose a tag to compare

@sebvey sebvey released this 28 Mar 08:48
937a437

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