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

9
LINES

< > BotCompany Repo | #1032687 // lazyList - synonym of listFromFunction

JavaX fragment (include)

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



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

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032687
Snippet name: lazyList - synonym of listFromFunction
Eternal ID of this version: #1032687/1
Text MD5: 544e47c7722595da3deda483b6c3f26a
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-02 00:54:12
Source code size: 180 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 168
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)