static Triple<L<S>> attractToTwoLists2(L<S> things, L<S> l1, L<S> l2) { new L<S> a; new L<S> b; new L<S> undecided; for (S s : unnull(things)) { L<S> pot = doubleBoolSwitch( cicAny(s, l1), a, cicAny(s, l2), b, undecided); pot.add(s); } ret triple(undecided, a, b); }
Began life as a copy of #1014622
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: | #1014626 |
Snippet name: | attractToTwoLists2 |
Eternal ID of this version: | #1014626/2 |
Text MD5: | eea7f9dc11679a6a745171cc96b5f14b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-27 01:07:09 |
Source code size: | 310 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 395 / 393 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |