- Enabled static check for
Result and Option
match api
- Formatted the Option code file
- Added the panic API
- Improved the documentation
- Updated the library metadata
- Updated the library description
- Updated the library description
- Added
match
method on Option type. This newmatch
method allows developers to perform pattern matching operations on Option instances, simplifying conditional logic and enhancing code readability.
- Formatted all files using dart formatter
- Added convenient APIs to get Left and Right enclosing data
- Implement exception for panic class
- Changed Option = None return type to None instead of panicking.
- Added Either functional programming concept
- Added
option
and theresult
module directly to the ruqe library
- Added some documentation for the Result isOk method.
- Added some documentation for the Result isErr method.
- implement match() method for Option type.
- implement match() method for Result type.
- Some examples
- Unit tests
- Initial version.
- Option implementation
- Result implementation
- Some examples
- Unit tests