DivideRemainder

inline fun <Left, Right, Result> DivideRemainder(crossinline block: (left: Left, right: Right) -> Result): DivideRemainder<Left, Right, Result>(source)

Creates a DivideRemainder instance from a lambda.

Return

A new DivideRemainder instance.

Parameters

block

The function implementing Euclidean division.

Type Parameters

Left

The type of the left operand.

Right

The type of the right operand.

Result

The type of the result.