static bool guess_match(Map<S, Bool> examples, S s) { for (S key : keys(examples)) if (match(key, s)) ret examples.get(key); false; }
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: | #1008065 |
| Snippet name: | guess_match |
| Eternal ID of this version: | #1008065/1 |
| Text MD5: | 320e7d84fa91a897a5ad8d791e496faa |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-23 13:52:06 |
| Source code size: | 152 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 615 / 644 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |