ASM Bytecode Generation to unwrap Expressions of adv-expr API #94

Merged
CommanderTvis merged 44 commits from adv-expr into adv-expr 2020-06-13 21:07:15 +03:00
Showing only changes of commit 8f1cf0179a - Show all commits

View File

@ -51,9 +51,9 @@ open class FunctionalExpressionSpace<T>(val space: Space<T>) : Space<Expression<
operator fun T.minus(arg: Expression<T>): Expression<T> = arg - this operator fun T.minus(arg: Expression<T>): Expression<T> = arg - this
} }
open class FunctionalExpressionField<T>( open class FunctionalExpressionField<T>(val field: Field<T>) :
val field: Field<T> ExpressionField<T, Expression<T>>,
) : ExpressionField<T, Expression<T>>, FunctionalExpressionSpace<T>(field) { FunctionalExpressionSpace<T>(field) {
override val one: Expression<T> override val one: Expression<T>
get() = const(this.field.one) get() = const(this.field.one)