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

3
LINES

< > BotCompany Repo | #1020650 // pairsOfListsWithEqualSize - filter pairs by equal size left and right

JavaX fragment (include)

static <A, B> LPair<L<A>, L<B>> pairsOfListsWithEqualSize(LPair<L<A>, L<B>> l) {
  ret [Pair<L<A>, L<B>> p : unnull(l) | l(p.a) == l(p.b)];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020650
Snippet name: pairsOfListsWithEqualSize - filter pairs by equal size left and right
Eternal ID of this version: #1020650/1
Text MD5: 25d9b0446bf33c745096e141dc6123b9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-30 11:54:32
Source code size: 143 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 296
Referenced in: [show references]