setCommutativeSemiring

context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Byte.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for Byte in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Short.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for Short in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Int.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for Int in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Long.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for Long in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun UByte.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for UByte in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun UShort.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for UShort in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun UInt.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for UInt in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun ULong.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for ULong in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Double.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for Double in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.


context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun Float.Companion.setCommutativeSemiring()(source)

Registers the CommutativeSemiring context for Float in the given registry.

Context Parameters

registry

The mutable owned provider registry to register the context into.

context(_: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun BigIntegerCompanion.setCommutativeSemiring()(source)