Transpiled version (9348L) is out of date.
1 | static <A, B> L<WithProbability<B>> mapProbabilisticList(IF1<A, B> f, Iterable<WithProbability<A>> l) { |
2 | ret map(l, a -> a == null ?: withProbability(a.probability(), f.get(a!))); |
3 | } |
4 | |
5 | static <A, B> L<WithProbability<B>> mapProbabilisticList(Iterable<WithProbability<A>> l, IF1<A, B> f) { |
6 | ret mapProbabilisticList(f, l); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036032 |
Snippet name: | mapProbabilisticList |
Eternal ID of this version: | #1036032/3 |
Text MD5: | 2c5585fc7d5a0674a23666e17ba06f74 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-01 23:06:08 |
Source code size: | 325 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 162 / 225 |
Version history: | 2 change(s) |
Referenced in: | [show references] |