static void ai_spec_groupingPrefix(S s) { ai_spec_groupingPrefix(s, ai_groupingPrefixes()); } static void ai_spec_groupingPrefix(S s, Set<S> prefixes) { new Matches m; for (S prefix : prefixes) if (swic(s, prefix + " ", m)) ai_postTriple(s, "groups to", prefix + " " + curlyBraces(m.rest())); }
Began life as a copy of #1011756
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: | #1011838 |
Snippet name: | ai_spec_groupingPrefix |
Eternal ID of this version: | #1011838/3 |
Text MD5: | 0a070c6fd1056f6d1c1ab6556732b0c4 |
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-08 01:26:43 |
Source code size: | 320 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 391 / 438 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1011839 - ai_spec_groupingPrefix_all |