github dry-python/returns 0.8.0
Version 0.8.0

latest releases: 0.23.0, 0.22.0, 0.21.0...
5 years ago

Features

  • Reintroduces the Maybe monad, typed!
  • Introduces converters from one type to another
  • Adds mypy plugin to type decorators
  • Complete rewrite of Result types
  • Partial API change, now Success and Failure are not types, but functions
  • New internal types introduced: FixableContainer and ValueUnwrapContainer

Bugfixes

  • Fixes issue when you could return IO container from Result.bind
  • Fixes @pipeline return type

Misc

  • Reapplied all types to .py files
  • Improved docs about IO and Container concept
  • Adds docs about container composition
  • Moves from Alpha to Beta

Don't miss a new returns release

NewReleases is sending notifications on new releases.