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

5
LINES

< > BotCompany Repo | #1021393 // ai_rule_pair_expandPlusArrow - expand "+=>"

JavaX fragment (include)

static PairS ai_rule_pair_expandPlusArrow(PairS rule) {
  if (endsWith(pairA(rule), "+"))
    ret pair(rule.a + " " + rule.b, rule.b);
  ret rule;
}

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: #1021393
Snippet name: ai_rule_pair_expandPlusArrow - expand "+=>"
Eternal ID of this version: #1021393/1
Text MD5: ae6be80f2efaa39f7f6af203deaac1b1
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-10 17:42:33
Source code size: 152 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 211 / 258
Referenced in: [show references]