Closed LVMVRQUXL closed 1 year ago
The following operations will not be implemented:
// Can be replaced by ExplicitInt.toInt().toNonZeroInt()
fun PositiveInt.toNonZeroInt(): Result<NonZeroInt> = TODO()
fun NegativeInt.toNonZeroInt(): Result<NonZeroInt> = TODO()
Done.
Description
Implement the following operations for converting the receiver type to a
NonZeroInt
:Checklist
StrictlyPositiveInt
type.StrictlyNegativeInt
type.Work in progress
section in changelog.