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

10
LINES

< > BotCompany Repo | #1025836 // agiBlue_rules_gazelleZip

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

Libraryless. Click here for Pure Java version (4406L/29K).

1  
// returns pairs(rule, mapping)
2  
static LPair<S, SS> agiBlue_rules_gazelleZip(S input) {
3  
  new LPair<S, SS> out;
4  
  for (S rule : agiBlue_allRules()) {
5  
    PairS p = splitAtDoubleArrow_pair(rule), continue if null;
6  
    SS map = gazelle_zip(p.a, input), continue if null;
7  
    out.add(pair(rule, mapKeysAndValues tok_deRoundOrCurlyBracket(map)));
8  
  }
9  
  ret out;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025836
Snippet name: agiBlue_rules_gazelleZip
Eternal ID of this version: #1025836/1
Text MD5: 300fe257d2e16ff6eb4e02ba223e70a4
Transpilation MD5: 036d99b54e4e00100dfec2044461616f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-25 14:50:37
Source code size: 368 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 214
Referenced in: [show references]