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

6
LINES

< > BotCompany Repo | #1022215 - dm_gazelle_allRulesWithPurpose

JavaX fragment (include)

static L<T3S> dm_gazelle_allRulesWithPurpose(S purpose) {
  if (empty(purpose) || eq(purpose, 'default))
    ret filter(gazelle_allRuleTriples(), t -> empty(gazelle_purposeFromComments(t.b)));
  else
    ret dm_gazelle_allRulesWithComment("purpose: " + purpose);
}

Author comment

Began life as a copy of #1021620

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, whxojlpjdney

No comments. add comment

Snippet ID: #1022215
Snippet name: dm_gazelle_allRulesWithPurpose
Eternal ID of this version: #1022215/4
Text MD5: ced3f8d9af5f609db6b2d56c594a1e1d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-17 00:00:53
Source code size: 269 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 68 / 89
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1022215 & http://1022215.tinybrain.de