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

6
LINES

< > BotCompany Repo | #1012150 // ai_texts_dollarAny_multi - satisfy multiple conditions

JavaX fragment (include)

static L<SS> ai_texts_dollarAny_multi(L<T3<S>> l) {
  if (l(l) == 0) ret emptyList();
  if (l(l) == 1) ret ai_texts_dollarAny(first(l));
  if (l(l) == 2) ret ai_texts_dollarAny_two(first(l), second(l));
  fail("not implemented: " + n(l, "condition"));
}

Author comment

Began life as a copy of #1012147

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: #1012150
Snippet name: ai_texts_dollarAny_multi - satisfy multiple conditions
Eternal ID of this version: #1012150/1
Text MD5: eb3ca201ea6a697e3ad9d6b097701b8f
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-21 12:36:49
Source code size: 258 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 409 / 425
Referenced in: [show references]