Warning: session_start(): open(/var/lib/php/sessions/sess_bd7tnojrrc9lum1bbp6kihibr1, 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
dropListPrefix - drop first elements of list if matches [1005095]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1005095 // dropListPrefix - drop first elements of list if matches

JavaX fragment (include)

static <A> L<A> dropListPrefix(L<A> l, A... elements) {
  ret startsWith(l, asList(elements)) ? subList(l, l(elements)) : l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005095
Snippet name: dropListPrefix - drop first elements of list if matches
Eternal ID of this version: #1005095/1
Text MD5: d3cfac49d618f727f54be035c3ea9340
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-16 16:35:48
Source code size: 128 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 981 / 975
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)