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

6
LINES

< > BotCompany Repo | #1023182 // functionReturningList_transitiveHull_ciSet

JavaX fragment (include)

// f : S -> Collection<S>
static Set<S> mapLike functionReturningList_transitiveHull_ciSet(O f, S input, O... _) {
  Set<S> seen = asCISet(optPar seen(_, linkedCISet()));
  exhaustIterator(repeatFunctionReturningList_iterator(f, input, paramsPlus(_, +seen)));
  ret seen;
}

Author comment

Began life as a copy of #1022233

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: #1023182
Snippet name: functionReturningList_transitiveHull_ciSet
Eternal ID of this version: #1023182/3
Text MD5: ff654d32e98b67ce003bb5888c3af940
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-08 20:31:54
Source code size: 278 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 226 / 268
Version history: 2 change(s)
Referenced in: [show references]