Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7727L/52K).
!7 p-experiment { L<S> l1 = mL("Things humans eat"); L<S> l2 = mL("Things humans don't eat"); L<S> things = tlft([[ Steel Raw steel Chocolate Milk chocolate Wooly stuff Stainless steel ]]); Triple<L<S>> t = attractToTwoLists1(things, l1, l2); t = attractToTwoLists_merge(t, attractToTwoLists2(t.a, l1, l2)); nlPrint("Edible:"); pnlIndent(t.b); nlPrint("Non-edible:"); pnlIndent(t.c); nlPrint("Undecided:"); pnlIndent(t.a); }
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: | #1014623 | 
| Snippet name: | Two List Attractor [OK] | 
| Eternal ID of this version: | #1014623/8 | 
| Text MD5: | c8b24906fc515cb7f45ab955465106e0 | 
| Transpilation MD5: | be7ecd68194058e54bbde80c63fba8ae | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX source code (desktop) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-04-27 01:17:04 | 
| Source code size: | 498 bytes / 23 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 731 / 3243 | 
| Version history: | 7 change(s) | 
| Referenced in: | [show references] |