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

4
LINES

< > BotCompany Repo | #1022579 // dm_importTextIntoRulesModule (old)

JavaX fragment (include)

svoid dm_importTextIntoRulesModule(S text) {
  for (S rule : ai_splitEntriesWithMultipleDoubleArrows(ai_splitConjoinedRules(splitAtEmptyLines(text))))
    dm_requireAndCall("#1021352/Rules", 'uniqConcept, (O) litobjarray(text := fullTrim_rtrim(rule)));
}

Author comment

Began life as a copy of #1021356

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: #1022579
Snippet name: dm_importTextIntoRulesModule (old)
Eternal ID of this version: #1022579/1
Text MD5: f41ca1dcbd1af4af5114fdfe06b3ab17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-23 11:20:02
Source code size: 257 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 233 / 255
Referenced in: