1 | static T3<S> ai_replaceStandaloneVarsInTriple(T3<S> t, SS map) { |
2 | S a = map.get(t.a), b = map.get(t.b), c = map.get(t.c); |
3 | if (a == null && b == null && c == null) ret t; |
4 | ret t3(or(a, t.a), or(b, t.b), or(c, t.c)); |
5 | } |
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: | #1012149 |
Snippet name: | ai_replaceStandaloneVarsInTriple - only replaces them "standalone" (as a third of a triple) |
Eternal ID of this version: | #1012149/1 |
Text MD5: | e7f700f8d21d45d04a505a2780594bd8 |
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 11:43:37 |
Source code size: | 224 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 452 / 484 |
Referenced in: | [show references] |