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

10
LINES

< > BotCompany Repo | #1031391 // transitiveHull - synonym of transitiveHullOfFunction

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

Libraryless. Click here for Pure Java version (2934L/17K).

// f : A -> Collection<A>
// trace_out collects what the function returns
// returns hashset including input
static <A> Set<A> transitiveHull(O f, A input, O... _) {
  ret transitiveHullOfFunction(f, input, _);
}

static <A> Set<A> lambdaMapLike transitiveHull(IF1<A, Cl<A>> f, A input, O... _) {
  ret transitiveHullOfFunction(f, input, _);
}

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: 103 / 150
Version history: 1 change(s)
Referenced in: [show references]