Libraryless. Click here for Pure Java version (5020L/28K).
1 | static <A> IVF1<A> toIVF1(VF1<A> f) { |
2 | ret vf1ToIVF1(f); |
3 | } |
4 | |
5 | static IVF1 toIVF1(O f) { |
6 | if (f == null) null; |
7 | if (f instanceof IVF1) ret (IVF1) f; |
8 | if (isString(f)) ret mainFunctionToIVF1((S) f); |
9 | ret (IVF1) a -> { callF(f, a); }; |
10 | } |
Began life as a copy of #1024897
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: | #1025531 |
Snippet name: | toIVF1 |
Eternal ID of this version: | #1025531/3 |
Text MD5: | d79e80e7290bdbf2fd648cbabcc8c015 |
Transpilation MD5: | b3b4c6ec5594eacf6ba03746bbc936fd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-20 20:10:57 |
Source code size: | 245 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 234 / 324 |
Version history: | 2 change(s) |
Referenced in: | [show references] |