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

3
LINES

< > BotCompany Repo | #1017427 // dropPairsWithSameToStringOnBothSides

JavaX fragment (include)

static <A> L<Pair<A>> dropPairsWithSameToStringOnBothSides(Iterable<Pair<A>> l) {
  ret [Pair<A> p : unnull(l) | !eq(str(p.a), str(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: #1017427
Snippet name: dropPairsWithSameToStringOnBothSides
Eternal ID of this version: #1017427/2
Text MD5: e42beda8e7c1133212522e5e899d8251
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-20 14:55:28
Source code size: 142 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 347
Version history: 1 change(s)
Referenced in: [show references]