Warning: session_start(): open(/var/lib/php/sessions/sess_ihg4jq6fjpdechlncpifap6m43, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sclass Entry {
S code, hints;
transient F1 function;
transient Throwable error;
}
cmodule FunctionsOnStrings > DynObjectTable {
// API
F1 getFunction(S code, S hints) {
lock lock;
Entry e = objectWhere(data(), +code, +hints);
if (e == null) add(e = nu Entry(+code, +hints));
if (e.error != null) throw rethrow(e.error);
if (e.function == null) {
print("Loading function: " + code);
try {
e.function = codeWithHintsToFunctionOnString(code);
} catch ex {
e.error = ex;
throw rethrow(ex);
}
}
ret e.function;
}
}