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

3
LINES

< > BotCompany Repo | #1032211 // mapToProbabilisticList

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

Transpiled version (4556L) is out of date.

1  
static <A, B> ProbabilisticList<B> mapToProbabilisticList(Iterable<A> l, IF1<A, WithProbability<B>> f) {
2  
  ret new ProbabilisticList<B>(map(l, f));
3  
}

Author comment

Began life as a copy of #1030699

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032211
Snippet name: mapToProbabilisticList
Eternal ID of this version: #1032211/4
Text MD5: ddf5157053dc578c95d8a42a70f79de2
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-20 07:55:57
Source code size: 153 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 134 / 196
Version history: 3 change(s)
Referenced in: [show references]