static Lisp nlMinimalList(L list) { Lisp tree = lisp("[]"); for (O s : list) { if (s instanceof Lisp) tree.add((Lisp) s); else if (s instanceof S) tree.add(quote((S) s)); else tree.add("?"); } ret tree; }
Began life as a copy of #1002859
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: | #1002869 |
Snippet name: | nlMinimalList - makes list without commas |
Eternal ID of this version: | #1002869/1 |
Text MD5: | 829c8fe3b37fc4a82efc5136a742fa32 |
Author: | stefan |
Category: | eleu / nl |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-03-10 02:04:37 |
Source code size: | 253 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 609 / 606 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |