Warning: session_start(): open(/var/lib/php/sessions/sess_qkmjrrvofhlne10pafdvg2ej8e, 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
static O mapLike rcurry(fO f, fO arg) {
int n = numberOfFunctionArguments(f);
if (n == 0) fail("function takes no arguments");
if (n == 1) ret new F0 {
O get() {
ret callF(f, arg);
}
};
if (n == 2)
ret new F1 {
O get(O a) {
ret callF(f, a, arg);
}
};
throw todo("currying a function with " + n + "arguments");
}