Skip to content

Releases: Enegg/py-monads

v0.1.3

02 May 13:34

Choose a tag to compare

  • Workaround pyright inferring invariance for covariant generics (likely due to __replace__)

v0.1.2

23 Apr 20:45

Choose a tag to compare

  • Bumped minimum python version to 3.13
  • Added proper license
  • Switched to uv
  • Rewrote type annotations to work around pyright reporting Never in lambda parameters (.map(lambda x: ...)) (See this issue)
  • Option:
    • Added .flatten(): Option[Option[T]] => Option[T]
    • Option now implements <, <=, >, >= for inner types that support it
    • Null is no longer an Enum due to the need of making it generic; Null.null is preserved
  • Made types.py private

Initial release

11 Jan 11:52

Choose a tag to compare

Option[T], Result[T, E], tools