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

Function problem_09

examples/99_problems.cpp:74–77  ·  view source on GitHub ↗

P09 (**) Pack consecutive duplicates of list elements into sublists.

Source from the content-addressed store, hash-verified

72
73// P09 (**) Pack consecutive duplicates of list elements into sublists.
74void problem_09()
75{
76 print_result(group(xs));
77}
78
79// P10 (*) Run-length encoding of a list.
80void problem_10()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
groupFunction · 0.50

Tested by

no test coverage detected