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

9
LINES

< > BotCompany Repo | #1018028 // emittedFacts

JavaX fragment (include)

1  
static LS emittedFacts(Runnable r) {
2  
  L l = getEmits(r);
3  
  new LS out;
4  
  for (O o : l)
5  
    if (o cast Pair)
6  
      if (eq(o.a, 'fact))
7  
        out.add((S) o.b);
8  
  ret out;
9  
}

Author comment

Began life as a copy of #1016143

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: #1018028
Snippet name: emittedFacts
Eternal ID of this version: #1018028/1
Text MD5: d5150b81b34f64344e2641c11b43140a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-26 17:09:14
Source code size: 181 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 412 / 435
Referenced in: [show references]