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

8
LINES

< > BotCompany Repo | #1022375 // gazelle_answersFromModules

JavaX fragment (include)

static LS gazelle_answersFromModules(S userID, S input) {
  new LS out;
  LS modules = cast dm_call(dm_gazelle_modulesManager(), 'activeModulesForUser, userID);
  for (S moduleID : unnull(modules)) pcall {
    addIfNempty(out, (S) dm_callOpt(moduleID, 'answer, input));
  }
  ret out;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022375
Snippet name: gazelle_answersFromModules
Eternal ID of this version: #1022375/2
Text MD5: f7ab1af35119f3a1137e49a3b05cfdad
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-16 12:04:29
Source code size: 293 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 167 / 205
Version history: 1 change(s)
Referenced in: [show references]