oxidized 3.1.0
oxidized: ^3.1.0 copied to clipboard
Definitions of the Rust-like types, Option and Result, to promote safer programming.
Change Log #
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. This file follows the convention described at Keep a Changelog.
3.0.0 - 2020-03-18 #
Changed #
- BREAKING CHANGES: see below for the details.
- The
Result"ok" and "error" values are full-fledged classes now. - The
Option"some" and "none" values are full-fledged classes now. Option.isSome()andOption.isNone()are gone, useis Someandis None.Result.isOk()andResult.isErr()are gone, useis Okandis Err.- The default
Resultconstructor has been renamed toof()instead. - Passing
nullto theOption.some()factory constructor will yield aNone. - Both the
OkandErrsubclasses ofResultallow for null arguments.