Open fredvollmer opened 5 years ago
Is there any reason why both some and none have to specified in the object passed to the match function? Often times I only need to take action if the Option is defined, so I only want to pass some.
some
none
match
There is no particular reason. Probably, We might be able to make both some and none properties optional.
Is there any reason why both
some
andnone
have to specified in the object passed to thematch
function? Often times I only need to take action if the Option is defined, so I only want to passsome
.