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

9
LINES

< > BotCompany Repo | #1030503 // virtualList - synonym of listFromFunction

JavaX fragment (include)

static <A> L<A> virtualList(int n, IF1<Int, A> f) {
  ret listFromFunction(n, f);
}



static <A> L<A> lambdaMapLike virtualList(IF1<Int, A> f, int n) {
  ret listFromFunction(f, n);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030503
Snippet name: virtualList - synonym of listFromFunction
Eternal ID of this version: #1030503/1
Text MD5: 2292d5ceb1e5309ea31e53de7dc75f61
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-02 17:04:38
Source code size: 186 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 210 / 241
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)