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

3
LINES

< > BotCompany Repo | #1030220 // mapToPairsA

JavaX fragment (include)

static <A, B> LPair<B, A> lambdaMapLike mapToPairsA(IF1<A, B> f, Iterable<A> l) {
  ret map(l, a -> pair(f.get(a), a));
}

Author comment

Began life as a copy of #1011173

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030220
Snippet name: mapToPairsA
Eternal ID of this version: #1030220/2
Text MD5: 1a70ef243605d1afeda96be09f0024be
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-14 10:40:17
Source code size: 123 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 166
Version history: 1 change(s)
Referenced in: [show references]