MstLogicAlgebra

object MstLogicAlgebra : LogicAlgebra<MST>

Logic algebra for MST

Functions

and
Link copied to clipboard
common
open infix override fun MST.and(other: MST): MST
Logic 'and'
binaryOperation
Link copied to clipboard
common
open override fun binaryOperation(operation: String, left: MST, right: MST): MST
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: MST, right: MST) -> MST
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): MST
The same as bindSymbolOrNull but throws an error if symbol could not be bound
bindSymbolOrNull
Link copied to clipboard
common
open override fun bindSymbolOrNull(value: String): MST
Wraps a raw string to T object.
const
Link copied to clipboard
common
open override fun const(boolean: Boolean): Symbol
Represent constant Boolean as T
not
Link copied to clipboard
common
open operator override fun MST.not(): MST
Logic 'not'
or
Link copied to clipboard
common
open infix override fun MST.or(other: MST): MST
Logic 'or'
unaryOperation
Link copied to clipboard
common
open override fun unaryOperation(operation: String, arg: MST): MST
Dynamically invokes a unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: MST) -> MST
Dynamically dispatches a unary operation with the certain name.
xor
Link copied to clipboard
common
open infix override fun MST.xor(other: MST): MST
Logic 'xor'

Sources

common source
Link copied to clipboard