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

5
LINES

< > BotCompany Repo | #1021284 // formatDoubleArrowPairs

JavaX fragment (include)

static <A> S formatDoubleArrowPairs(LPair<A> l) {
  ret lines(mapPairsToList(l, func(A key, A value) -> S {
    str(key) + " => " + str(value)
  }));
}

Author comment

Began life as a copy of #1014451

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021284
Snippet name: formatDoubleArrowPairs
Eternal ID of this version: #1021284/5
Text MD5: d45786e776ac5f23bfac1925709c0439
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-06 16:25:37
Source code size: 155 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 301
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021286 - formatDoubleArrowPairs_horizontallyAligned