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

5
LINES

< > BotCompany Repo | #1027825 // renderBoolMap

JavaX fragment (include)

1  
static <A> S renderBoolMap(Map<A, Bool> map) {
2  
  ret joinWithComma(concatLists(
3  
    allToString(keysWithValue(true, map)),
4  
    prependAll("not ", allToString(keysWithValue(false, map)))));
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027825
Snippet name: renderBoolMap
Eternal ID of this version: #1027825/4
Text MD5: 7ec9534d3371b8635b7bf42c883efe08
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-13 23:14:25
Source code size: 194 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 191 / 241
Version history: 3 change(s)
Referenced in: [show references]