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

8
LINES

< > BotCompany Repo | #1017852 // serverTelegramLog_plusFiredRules

JavaX fragment (include)

static LPair<TelegramMsg, LS> serverTelegramLog_plusFiredRules() {
  L<TelegramMsg> msgs = serverTelegramLog();
  MultiMap<S> ruleFires = ai_tg_rulesFiredOnMessages_fullMap();
  LPair<TelegramMsg, LS> l = emptyList(msgs);
  for (TelegramMsg msg : msgs)
    addPair(l, msg, nullIfEmpty(ruleFires.get(msg.globalID)));
  ret l;
}

Author comment

Began life as a copy of #1017851

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: #1017852
Snippet name: serverTelegramLog_plusFiredRules
Eternal ID of this version: #1017852/2
Text MD5: 9c9514d1c26f4e7db7865b2ab4511207
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-18 12:33:38
Source code size: 333 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 383
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)