setSemiring

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

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)

Registers the Semiring 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.setSemiring()(source)