kotools / libraries

Multiplatform libraries for expressive programming with Kotlin.
https://kotools.github.io/libraries
MIT License
0 stars 0 forks source link

Binary operations for `kotools.types.PositiveInt` #93

Closed LVMVRQUXL closed 1 year ago

LVMVRQUXL commented 1 year ago

Description

Implement the following declarations:

operator fun PositiveInt.div(other: StrictlyPositiveInt): PositiveInt = TODO()
operator fun PositiveInt.div(other: StrictlyNegativeInt): NegativeInt = TODO()
operator fun PositiveInt.rem(other: NonZeroInt): PositiveInt = TODO()
operator fun PositiveInt.rem(other: StrictlyPositiveInt): PositiveInt = TODO()
operator fun PositiveInt.rem(other: StrictlyNegativeInt): PositiveInt = TODO()

Checklist