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

7
LINES

< > BotCompany Repo | #1008886 // ctxUnbracket

JavaX fragment (include)

1  
static S ctxUnbracket(S exp) {
2  
  if (exp.startsWith("(") && exp.endsWith(")")) {
3  
    S e = dropFirstAndLast(exp);
4  
    if (hasRoundBracketHygiene(e)) ret e;
5  
  }
6  
  ret exp;
7  
}

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: #1008886
Snippet name: ctxUnbracket
Eternal ID of this version: #1008886/1
Text MD5: 40c639affd5fb8cb7a95a23c50fe334d
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-15 18:46:42
Source code size: 178 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 472 / 544
Referenced in: [show references]