1 | static bool matchSomethingWhichIs(O pat, O real, IMatchF elementMatcher, Map map) { |
2 | if (pat << SomethingWhichIs && real instanceof S) { |
3 | if (!ai_is(quote((S) real), pat/SomethingWhichIs.type)) false; |
4 | print("Assigning " + pat + " => " + real); |
5 | ret strictPut(map, pat, real); |
6 | } |
7 | false; |
8 | } |
Began life as a copy of #1012752
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: | #1012754 |
Snippet name: | matchSomethingWhichIs |
Eternal ID of this version: | #1012754/2 |
Text MD5: | 564bf365bd04908a6782e8c6da86ebd9 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-11 20:07:19 |
Source code size: | 310 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 380 / 401 |
Version history: | 1 change(s) |
Referenced in: | [show references] |