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

7
LINES

< > BotCompany Repo | #1011859 // ai_spec_switcheroo

JavaX fragment (include)

1  
static void ai_spec_switcheroo(S s) {
2  
  bool q = isQuoted(s);
3  
  S x = switcheroo(unquote(s));
4  
  if (q) x = quote(x);
5  
  if (neq(x, s))
6  
    ai_postTriple(s, "switcheroo", x);
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: #1011859
Snippet name: ai_spec_switcheroo
Eternal ID of this version: #1011859/2
Text MD5: 98233a2d716d0382f3aac5b7aa44d8b5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-08 04:29:37
Source code size: 180 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 478 / 495
Version history: 1 change(s)
Referenced in: [show references]