Skip to content

Releases: minamorl/darkcore

v0.5.1

04 Sep 07:15
32b6334

Choose a tag to compare

What's Changed

  • Release hygiene, typed package, CI matrix, property laws, docs by @minamorl in #10

Full Changelog: v0.5.0...v0.5.1

v0.5.0

22 Aug 20:29

Choose a tag to compare

What's Changed

  • Enable Python pattern matching for core types by @minamorl in #9

Full Changelog: v0.4.0...v0.5.0

v0.3.0

22 Aug 19:05

Choose a tag to compare

What's Changed

  • Clarify ReaderT/StateT equality semantics by @minamorl in #6
  • Enforce monoid config for Writer and expand law tests by @minamorl in #7

Added

  • Operator DSL unified across all monads: |fmap, >>bind, @ap.
  • ap for Reader, State, Writer.
  • ResultT transformer.

Changed

  • Writer[A, W] generalized for arbitrary monoids.
  • Safety: For non-list logs, empty and combine are now required at construction; otherwise TypeError.
  • CI tightened: pytest -v --cov, mypy --strict.

Tests

  • Added comprehensive Functor/Applicative/Monad law tests for Reader/State/MaybeT/ResultT.
  • Added law tests for Writer and WriterT (list and str monoids).

Docs

  • README updated with examples for non-list logs (empty=str, combine=str.__add__) and operator DSL.

Fixed

  • Clarified equality semantics for ReaderT/StateT: structural __eq__ intentionally NotImplemented; compare results (run(...)) in tests.

Notes

  • This release tightens runtime checks for Writer construction. If you used non-list logs without specifying empty/combine, update your code accordingly.

Full Changelog: 0.2.0...v0.3.0

v0.2.0

22 Aug 18:57
1df1328

Choose a tag to compare

What's Changed

  • Add EitherT and ResultT transformers by @minamorl in #1
  • feat: add monad operator DSL and writer generalization by @minamorl in #2

Full Changelog: v0.1.1...v0.2.0

v0.1.1

16 Aug 19:04

Choose a tag to compare

Full Changelog: v0.1.0...v0.1.1