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

9
LINES

< > BotCompany Repo | #1018305 // itemToMap_ExecutedRule_v2

JavaX fragment (include)

static F1<ExecutedRule, Map> itemToMap_ExecutedRule_v2() {
  ret func(ExecutedRule r) -> Map {
    litorderedmap(
      "Output" := nullIfEmpty(join("|", r.output)),
      "Produced Facts" := nullIfEmpty(join("|", r.facts)),
      "New Input" := nullIfEmpty(join("|", r.newInput)),
      Rule := nlLogic_ruleWithParamsForUser(r.rule))
  };
}

Author comment

Began life as a copy of #1018273

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: #1018305
Snippet name: itemToMap_ExecutedRule_v2
Eternal ID of this version: #1018305/1
Text MD5: a2f7fc8f102efae3aa620992d631b235
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-17 13:34:24
Source code size: 349 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 355 / 379
Referenced in: [show references]