Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1028013 // lambdaMap_curry

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2537L/16K).

// with currying
static <A, B, C> L<C> curry1Like lambdaMap_curry(IF2<A, B, C> f, A a, Iterable<B> l) {
  ret map(l, b -> f.get(a, b));
}

Author comment

Began life as a copy of #1026014

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: #1028013
Snippet name: lambdaMap_curry
Eternal ID of this version: #1028013/1
Text MD5: fba83052b5d35a58671305ecf38482d9
Transpilation MD5: a0501a29e8ed2465c24ac65f22d510a6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-03 18:24:37
Source code size: 140 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 221
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)