Skip to content

PyPI version 0.0.3.1

Latest
Compare
Choose a tag to compare
@statusfailed statusfailed released this 17 Jul 20:27

Changes since 0.0.2.2

New Features

  • Optic functors yarrow.functor.optic
  • Numpy-specific diagram layering yarrow.numpy.layer
  • New class AbstractIndexedCoproduct, which replaces SegmentedFiniteFunction
  • New functions:
    • Diagram.half_spider
    • FiniteFunction.cumsum
    • FiniteFunction.interleave
    • FiniteFunction.cointerleave
  • Operations class now implements __len__ and __iter__ for convenience

Refactoring (API-breaking changes)

  • Replaced all uses of SegmentedFiniteFunction with IndexedCoproduct
  • Move numpy-backed diagrams into yarrow.numpy
  • Tidied up yarrow.functor.functor and (documentation)