Warning: session_start(): open(/var/lib/php/sessions/sess_mbhonspl9n0e3qilf7ggq3pico, 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
srecord ListAndIndex(L list, int idx) {
bool atEnd() { ret idx >= l(list); }
A get() { ret _get(list, idx); }
int size() { ret l(list); }
toString {
ret subList(list, 0, idx) + ", then " + subList(list, idx);
}
ListAndIndex plus(int ofs) { ret ListAndIndex(list, idx+ofs); }
ListAndIndex minus(int ofs) { ret ListAndIndex(list, idx-ofs); }
L list() { ret list; }
int index aka idx() { ret idx; }
ListAndIndex mapIdx(IF1_IntToInt f) { ret ListAndIndex(list, f.get(idx));
}