static F1 mainFunctionToF1(fS fname) { ret new F1() { O get(O a) { ret callMC(fname, a); } }; }