forked from JavaTX/JavaCompilerCore
18 lines
261 B
Java
18 lines
261 B
Java
class mathStruc<A> {
|
|
|
|
mathStruc(A a) { ;}
|
|
|
|
A model(){ A a; return a; }
|
|
|
|
void methode(){
|
|
auto innerOp = o -> ms ->
|
|
new mathStruc<A>(o.apply(this.model(),ms.model()));
|
|
}
|
|
}
|
|
|
|
interface Fun1<A,B>{
|
|
A apply(B b);
|
|
}
|
|
interface Fun2<A,B,C>{
|
|
A apply(B b, C c);
|
|
} |