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

5
LINES

< > BotCompany Repo | #1026163 // arbitraryVarsFlexMatchIC_iterator - flexMatch with arbitrary variables

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3551L/22K).

static ItIt<SS> arbitraryVarsFlexMatchIC_iterator(Set<S> vars, S pat, S input) {
  new LS usedVars;
  S starsPat = arbitraryVarsToStars(pat, vars, usedVars);
  ret mapI(flexMatchIC_iterator(starsPat, input), m -> matchesToMapUsingVarList_ciMap(m, usedVars));
}

Author comment

Began life as a copy of #1026111

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026163
Snippet name: arbitraryVarsFlexMatchIC_iterator - flexMatch with arbitrary variables
Eternal ID of this version: #1026163/5
Text MD5: b338cb7fafb676214e5c34fbac658932
Transpilation MD5: da94e2545ee2d59168c95f4bf010f4d6
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-27 23:41:51
Source code size: 264 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 221
Version history: 4 change(s)
Referenced in: [show references]