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

Function problem_04

examples/99_problems.cpp:44–47  ·  view source on GitHub ↗

P04 (*) Find the number of elements of a list.

Source from the content-addressed store, hash-verified

42
43// P04 (*) Find the number of elements of a list.
44void problem_04()
45{
46 print_result(size_of_cont(xs));
47}
48
49// P05 (*) Reverse a list.
50void problem_05()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
size_of_contFunction · 0.50

Tested by

no test coverage detected