Libraryless. Click here for Pure Java version (2193L/14K).
1 | // need separate function mae because lambda has no toString |
2 | static <A, B> B lambdaMapLike callPrint1x(IF1<A, B> f, S fname, A a) { |
3 | print("Calling " + renderFunctionCall(fname, a)); |
4 | B b = f.get(a); |
5 | print(" => " + b); |
6 | ret b; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026260 |
Snippet name: | callPrint1x - call function with one argument and print everything |
Eternal ID of this version: | #1026260/7 |
Text MD5: | 9ce995eb7a2f712e057d62209fcf0800 |
Transpilation MD5: | db5dcb2ac30f72f60740ec5e9521827f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-09 14:10:49 |
Source code size: | 240 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 348 |
Version history: | 6 change(s) |
Referenced in: | [show references] |