12 lines
182 B
Plaintext
Raw Normal View History

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-06-26 16:59:10 +02:00
auto innerOp = o -> ms ->
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
}
}