Libraryless. Click here for Pure Java version (2433L/15K).
please include function emit. static L getEmits_tee(Runnable r) { new L l; temp tempSetThreadLocal(emit_tl, l); temp tempSetMCOpt(emit_print := true); callF(r); ret l; } static L mapLike getEmits(O f, O... args) { ret getEmits(r { callF(f, args) }); }
Began life as a copy of #1016143
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: | #1026492 |
Snippet name: | getEmits_tee - also prints emits as usual |
Eternal ID of this version: | #1026492/1 |
Text MD5: | 97be844e74341e73059d85c11f281428 |
Transpilation MD5: | 49c2b15101a3b295cfcde47c41477faf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-06 18:15:04 |
Source code size: | 277 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 247 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |