Libraryless. Click here for Pure Java version (2856L/17K).
1 | // Note: doesn't replace single words in a phrase |
2 | sS gazelle_deepReplaceFullPhrases(SS map, S input, O... _) {
|
3 | ret empty(map) ? input : gazelle_deepTransform(s -> map.get(s), input, _); |
4 | } |
Began life as a copy of #1027141
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027143 |
| Snippet name: | gazelle_deepReplaceFullPhrases - using map |
| Eternal ID of this version: | #1027143/4 |
| Text MD5: | b5c1567d74032d659ad6177bb838686b |
| Transpilation MD5: | 993ce2fa84ff7e73f900ab69e674c081 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-02-22 11:23:34 |
| Source code size: | 192 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 401 / 540 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |