1 | static <A, B> LPair<B> mapLike pairsMap(fO f, LPair<A> l) { |
2 | ret map(l, func(Pair<A> p) -> Pair<B> { mapPair(f, p) }); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1020649 |
Snippet name: | pairsMap - apply function to both parts of pairs |
Eternal ID of this version: | #1020649/2 |
Text MD5: | 22bb659fec93c212f2bb3e62cc97ba23 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-30 14:19:38 |
Source code size: | 123 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 338 / 355 |
Version history: | 1 change(s) |
Referenced in: | [show references] |