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

5
LINES

< > BotCompany Repo | #1027171 // winograd_takeOption

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (2424L) is out of date.

sS winograd_takeOption(int i, S s) {
  if (i == 1) ret winograd_takeFirstOption(s);
  if (i == 2) ret winograd_takeSecondOption(s);
  fail(str(i));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027171
Snippet name: winograd_takeOption
Eternal ID of this version: #1027171/2
Text MD5: b284f672e6ef616321426059bdd4fea0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-24 01:00:01
Source code size: 155 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 181 / 270
Version history: 1 change(s)
Referenced in: [show references]