MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / join

Function join

include_all_in_one/include/fplus/fplus.hpp:4766–4769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4764template <typename Container,
4765 typename X = typename Container::value_type>
4766X join(const X& separator, const Container& xs)
4767{
4768 return concat(intersperse(separator, xs));
4769}
4770
4771// API search type: join_elem : (a, [[a]]) -> [a]
4772// fwd bind count: 1

Callers 6

flattenMethod · 0.70
join_elemFunction · 0.70
show_tableFunction · 0.70
replace_tokensFunction · 0.70
write_text_file_linesFunction · 0.70

Calls 2

concatFunction · 0.70
intersperseFunction · 0.70

Tested by

no test coverage detected