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

9
LINES

< > BotCompany Repo | #1008574 // botLangList_uncached

JavaX fragment (include)

1  
static SS botLangList_uncached(S snippetID) {
2  
  SS map = new TreeMap;
3  
  for (S s : toLinesFullTrim(loadSnippet(snippetID))) {
4  
    L<S> l = splitAtSpace(s);
5  
    if (l(l) == 2)
6  
      map.put(lower(dropPrefix("#", plusToSpace(first(l)))), plusToSpace(second(l)));
7  
  }
8  
  ret map;
9  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008574
Snippet name: botLangList_uncached
Eternal ID of this version: #1008574/4
Text MD5: f507ee5a1bc50cb8eb7050b6e7cb13b1
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-24 00:35:43
Source code size: 285 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 501
Version history: 3 change(s)
Referenced in: [show references]