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

7
LINES

< > BotCompany Repo | #1021186 // abcDollarVarMakerWithoutTaken

JavaX fragment (include)

static F0<S> abcDollarVarMakerWithoutTaken(final Set<S> taken) {
  final ItIt<S> it = filterIterator(
    mapI(allWordsOfLowerCaseAlphabet(), func(S s) -> S { "$" + reversed(s) }),
    func(S s) -> bool { !contains(taken, s) });
  it.next(); // skip "$"
  ret func -> S { it.next() };
}

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: #1021186
Snippet name: abcDollarVarMakerWithoutTaken
Eternal ID of this version: #1021186/5
Text MD5: 3dfd1d0988cac47948f416f0807934ad
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-02 14:36:45
Source code size: 292 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 287
Version history: 4 change(s)
Referenced in: [show references]