static O pcallFInRealMC(fO realm, fO f, fO... args) { pcall { ret callFInRealMC(realm, f, args); } null; } ifclass F0 static <A> A pcallFInRealMC(O realm, F0<A> f) null on exception { ret f == null ? null : f.get(); } endif ifclass F1 static <A, B> B pcallFInRealMC(O realm, F1<A, B> f, A a) null on exception { ret f == null ? null : f.get(a); } endif
Began life as a copy of #1005301
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020756 |
| Snippet name: | pcallFInRealMC - pcallF + adjust for real main class |
| Eternal ID of this version: | #1020756/3 |
| Text MD5: | 4cd62b56de53c46fe46ab8c6af03a775 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-01 20:10:29 |
| Source code size: | 377 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 452 / 504 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |