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

7
LINES

< > BotCompany Repo | #1012589 // dropFirstAndLast_noNewList

JavaX fragment (include)

static <A> L<A> dropFirstAndLast_noNewList(int n, L<A> l) {
  ret subList(l, n, l(l)-n);
}

static <A> L<A> dropFirstAndLast_noNewList(L<A> l) {
  ret dropFirstAndLast_noNewList(1, l);
}

Author comment

Began life as a copy of #1005094

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012589
Snippet name: dropFirstAndLast_noNewList
Eternal ID of this version: #1012589/1
Text MD5: 03676e7a618d1adb6cea9a29abfb930a
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-07 15:22:26
Source code size: 192 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 396
Referenced in: [show references]