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