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