Feature/booleans #341

Merged
altavir merged 13 commits from feature/booleans into dev 2021-05-19 03:36:37 +03:00
Showing only changes of commit 72f4d7c7e6 - Show all commits

View File

@ -84,7 +84,7 @@ public interface Algebra<T> {
* @return an operation. * @return an operation.
*/ */
public fun binaryOperationFunction(operation: String): (left: T, right: T) -> T = public fun binaryOperationFunction(operation: String): (left: T, right: T) -> T =
error("Binary operation '$operation; not defined in $this") error("Binary operation '$operation' not defined in $this")
/** /**
* Dynamically invokes a binary operation with the certain name. * Dynamically invokes a binary operation with the certain name.