1 | static Triple<L<S>> attractToTwoLists2(L<S> things, L<S> l1, L<S> l2) { |
2 | new L<S> a; new L<S> b; new L<S> undecided; |
3 | for (S s : unnull(things)) { |
4 | L<S> pot = doubleBoolSwitch( |
5 | cicAny(s, l1), a, |
6 | cicAny(s, l2), b, |
7 | undecided); |
8 | pot.add(s); |
9 | } |
10 | ret triple(undecided, a, b); |
11 | } |
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: | 394 / 393 |
Version history: | 1 change(s) |
Referenced in: | [show references] |