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

8
LINES

< > BotCompany Repo | #1021459 // dm_gazelle_addRule

JavaX fragment (include)

// returns (ruleID, isNew)
static Pair<S, Bool> dm_gazelle_addRule(S when, S then) {
  ret (Pair) quickImport(dm_call(dm_gazelle_rulesModule(), 'addRule, when, then));
}

static Pair<S, Bool> dm_gazelle_addRule(S text) {
  ret (Pair) quickImport(dm_call(dm_gazelle_rulesModule(), 'addRule, text));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021459
Snippet name: dm_gazelle_addRule
Eternal ID of this version: #1021459/4
Text MD5: f5905b74758a0189f2e81a3eba60911d
Author: stefan
Category: javax / stefan's os / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-14 22:49:06
Source code size: 306 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 273
Version history: 3 change(s)
Referenced in: [show references]