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

14
LINES

< > BotCompany Repo | #1018250 // ctxMacros - from mech list

JavaX fragment (include)

static MechListDependentCache<SS> ctxMacros_cache = MechListDependentCache(
  "Ctx Macros (German)", func(S list) -> SS {
    new SS out;
    for (S s : tlft(list)) {
      int idx = s.indexOf("=");
      if (idx >= 0)
        out.put(trimSubstring(s, 0, idx), trimSubstring(s, idx+1));
    }
    ret out;
  });
  
static SS ctxMacros() {
  ret ctxMacros_cache!;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018250
Snippet name: ctxMacros - from mech list
Eternal ID of this version: #1018250/3
Text MD5: ffc98c6b8219d2e450c681fd753d3742
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-12 12:48:30
Source code size: 377 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 397 / 421
Version history: 2 change(s)
Referenced in: [show references]