Major update v2
- Added
Option.insert
related methodsinsert
get_or_insert
get_or_insert_with
Breaking Changes
Option.None
is no longer an object, but a function just likeOption.Some
- This is to prevent many parts of code sharing one
None
, since updatingNone
intoSome
is now possible.