returns v0.2.0 Release Notes

  • ๐Ÿ”‹ Features

    • โž• Adds Maybe container
    • Adds immutability and __slots__ to all containers
    • โž• Adds methods to work with failures
    • โž• Adds safe decorator to convert exceptions to Result container
    • โž• Adds is_successful() function to detect if your result is a success
    • โž• Adds failure() method to unwrap values from failed containers

    ๐Ÿ›  Bugfixes

    • ๐Ÿ”„ Changes the type of .bind method for Success container
    • ๐Ÿ”„ Changes how equality works, so now Failure(1) != Success(1)
    • ๐Ÿ”„ Changes how new instances created on unused methods

    Misc

    • ๐Ÿ‘Œ Improves docs