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

12
LINES

< > BotCompany Repo | #1002869 // nlMinimalList - makes list without commas

JavaX fragment (include)

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;
}

Author comment

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: 548 / 538
Referenced in: [show references]