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

6
LINES

< > BotCompany Repo | #1019247 // trueFalseBPairs

JavaX fragment (include)

static <A> LPair<A, Bool> trueFalseBPairs(Iterable<A> lTrue, Iterable<A> lFalse) {
  LPair<A, Bool> out = new L;
  for (A x : unnull(lTrue)) out.add(pair(x, true));
  for (A x : unnull(lFalse)) out.add(pair(x, false));
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019247
Snippet name: trueFalseBPairs
Eternal ID of this version: #1019247/1
Text MD5: 6f0aff0527c8b7786a3993d8b3144bc4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-28 16:12:03
Source code size: 236 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 319 / 365
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)