setCommutativeMonoid

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

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)

Registers the CommutativeMonoid 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.setCommutativeMonoid()(source)