1 | static bool guess_match(Map<S, Bool> examples, S s) {
|
2 | for (S key : keys(examples)) |
3 | if (match(key, s)) |
4 | ret examples.get(key); |
5 | false; |
6 | } |
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: | 616 / 646 |
| Referenced in: | [show references] |