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

7
LINES

< > BotCompany Repo | #1007659 // filterByHead

JavaX fragment (include)

static L<Lisp> filterByHead(L<Lisp> l, fS head) {
  ret [Lisp x : l | x.is(head)];
}

static L<Lisp> filterByHead(S head, L<Lisp> l) {
  ret filterByHead(l, head);
}

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: #1007659
Snippet name: filterByHead
Eternal ID of this version: #1007659/2
Text MD5: 7416c46c804fcbc46e956f2b4de217e8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-02 16:52:24
Source code size: 171 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 557 / 557
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)