| 1 | static L<IfThen> nlLogic_filterByRHSConstructs(L<IfThen> rules, S... constructs) {
 | 
| 2 | ret nlLogic_filterByRHSConstructs(rules, asHashSet(constructs)); | 
| 3 | } | 
| 4 | |
| 5 | static L<IfThen> nlLogic_filterByRHSConstructs(L<IfThen> rules, final Set<S> _constructs) {
 | 
| 6 | final Set<S> constructs = setPlus(_constructs, 'newID); | 
| 7 | ret [IfThen r : rules | isSuperSet(constructs, nlLogic_constructNames(r.out))]; | 
| 8 | } | 
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017878 | 
| Snippet name: | nlLogic_filterByRHSConstructs - allows ONLY those constructs, plus harmless ones | 
| Eternal ID of this version: | #1017878/4 | 
| Text MD5: | f73c8cc4c6308bce1147f14992127af1 | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-08-29 02:57:36 | 
| Source code size: | 393 bytes / 8 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 570 / 597 | 
| Version history: | 3 change(s) | 
| Referenced in: | [show references] |