static F1 codeWithHintsToFunctionOnString(S code, S hints) { code = trim(code); if (isIdentifier(code)) { // name of standard function Class c = loadFunctions_cached_withInit(code); final Method m = findMethod_precise(c, code, ""); if (m == null) fail("Not a method on a string: " + code); ret func(S s) -> A { (A) invokeMethod(m, null, s) }; } fail("todo"); }