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

6
LINES

< > BotCompany Repo | #1002824 // snlIsVar

JavaX fragment (include)

1  
static boolean snlIsVar(Lisp l) {
2  
  if (l == null || !l.isLeaf()) ret false;
3  
  S h = l.head;
4  
  ret startsWithUpperCase(h)
5  
    || (l(h) > 1 && h.startsWith("$"));
6  
}

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: #1002824
Snippet name: snlIsVar
Eternal ID of this version: #1002824/1
Text MD5: 19c50721d7509bf99fb927dd4d70e856
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-03-02 17:42:01
Source code size: 168 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 689 / 873
Referenced in: [show references]