Libraryless. Click here for Pure Java version (2934L/17K).
1 | // f : A -> Collection<A> |
2 | // trace_out collects what the function returns |
3 | // returns hashset including input |
4 | static <A> Set<A> transitiveHull(O f, A input, O... _) { |
5 | ret transitiveHullOfFunction(f, input, _); |
6 | } |
7 | |
8 | static <A> Set<A> lambdaMapLike transitiveHull(IF1<A, Cl<A>> f, A input, O... _) { |
9 | ret transitiveHullOfFunction(f, input, _); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031391 |
Snippet name: | transitiveHull - synonym of transitiveHullOfFunction |
Eternal ID of this version: | #1031391/2 |
Text MD5: | a3bd108530926f730f1dce005b974e52 |
Transpilation MD5: | 497417bfc543da6000dcdbd7dda6ea08 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-21 18:43:35 |
Source code size: | 352 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 248 |
Version history: | 1 change(s) |
Referenced in: | [show references] |