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

Function problem_28

examples/99_problems.cpp:217–220  ·  view source on GitHub ↗

P28 (**) Sorting a list of lists according to length of sublists

Source from the content-addressed store, hash-verified

215
216// P28 (**) Sorting a list of lists according to length of sublists
217void problem_28()
218{
219 print_result(sort_on(size_of_cont<Ints>, xss));
220}
221
222// Let's follow tradition for once and at least do the list-related problems.
223// L-99: Ninety-Nine Lisp Problems: http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
sort_onFunction · 0.50

Tested by

no test coverage detected