Libraryless. Click here for Pure Java version (2141L/14K).
static <A, B, C> IF1<B, C> curry1Like curry1(IF2<A, B, C> f, A a) { ret f == null ? null : b -> f.get(a, b); }
Began life as a copy of #1026448
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: | #1026449 |
Snippet name: | curry1 - curry a two-argument function lambda-style (returning a one-argument function) |
Eternal ID of this version: | #1026449/3 |
Text MD5: | 42893002813bd1f76c402c347f0af48e |
Transpilation MD5: | 084854397d7d96d442baf6bc3a334d93 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-04 17:31:51 |
Source code size: | 114 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 202 / 298 |
Version history: | 2 change(s) |
Referenced in: | [show references] |