2017-08-23 03:52:24 +02:00
|
|
|
|
2017-06-26 16:59:10 +02:00
|
|
|
class mathStruc<A> {
|
|
|
|
|
2017-06-30 13:48:59 +02:00
|
|
|
mathStruc(A a) { }
|
2017-06-26 16:59:10 +02:00
|
|
|
|
|
|
|
A model(){ A a; return a; }
|
|
|
|
|
2017-06-26 18:19:56 +02:00
|
|
|
methode(){
|
2017-09-25 23:47:38 +02:00
|
|
|
var innerOp = o -> ms ->
|
2017-06-26 16:59:10 +02:00
|
|
|
new mathStruc<A>(o.apply(this.model(),ms.model()));
|
2017-06-26 18:19:56 +02:00
|
|
|
return innerOp;
|
2017-06-26 16:59:10 +02:00
|
|
|
}
|
|
|
|
}
|