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

8
LINES

< > BotCompany Repo | #1010960 // web_dropLabelsStartingWith

JavaX fragment (include)

static Web web_dropLabelsStartingWith(Web web, S prefix) {
  for (WebNode n : web_nodesAndRelations(web)) {
    for (ListIterator<Lisp> it = n.labels.listIterator(); it.hasNext(); )
      if (swic(web.unparseLabel(it.next()), prefix))
        it.remove();
  }
  ret web;
}

Author comment

Began life as a copy of #1010312

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010960
Snippet name: web_dropLabelsStartingWith
Eternal ID of this version: #1010960/3
Text MD5: 6fa9dfc8848e6afc441ff64f50156f8c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-10 18:37:39
Source code size: 279 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 377 / 439
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)