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

3
LINES

< > BotCompany Repo | #1017194 // dropTwinPairs

JavaX fragment (include)

static <A> L<Pair<A>> dropTwinPairs(Iterable<Pair<A>> l) {
  ret l == null ? null : [Pair<A> p : l | neq(p.a, p.b)];
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017194
Snippet name: dropTwinPairs
Eternal ID of this version: #1017194/3
Text MD5: 8cd3c7db555799f96a442c57e9e11226
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 19:06:22
Source code size: 120 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 257
Version history: 2 change(s)
Referenced in: [show references]