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

8
LINES

< > BotCompany Repo | #1007708 // lispMap_after - Lisp mapping function with a specific execution order

JavaX fragment (include)

1  
// f: func(Lisp) -> Lisp; may return null
2  
static Lisp lispMap_after(Lisp l, O f) {
3  
  if (l == null) null;
4  
  Lisp l2 = lisp(l.head);
5  
  for (Lisp child : l)
6  
    l2.add(lispMap_after(child, f));
7  
  ret (Lisp) callPostProcessor2(f, l2);
8  
}

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: #1007708
Snippet name: lispMap_after - Lisp mapping function with a specific execution order
Eternal ID of this version: #1007708/4
Text MD5: 6841d8d6e18b7453263dfbd5d4546eef
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-02 21:44:31
Source code size: 240 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 660 / 618
Version history: 3 change(s)
Referenced in: [show references]