ASM Bytecode Generation to unwrap Expressions of adv-expr API #94
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user