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

3
LINES

< > BotCompany Repo | #1017529 // pairListMap - apply function to both elements of a pair in list of pairs

JavaX fragment (include)

static <A, B> LPair<B> pairListMap(final F1<A, B> f, LPair<A> l) {
  ret map(l, func(Pair<A> p) -> Pair<B> { pairMap(f, p) });
}

Author comment

Began life as a copy of #1008382

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: #1017529
Snippet name: pairListMap - apply function to both elements of a pair in list of pairs
Eternal ID of this version: #1017529/1
Text MD5: cf719b111e9a3491eb5d204729f0a1af
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-26 10:19:39
Source code size: 130 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 312 / 324
Referenced in: [show references]