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

Function problem_05

examples/99_problems.cpp:50–53  ·  view source on GitHub ↗

P05 (*) Reverse a list.

Source from the content-addressed store, hash-verified

48
49// P05 (*) Reverse a list.
50void problem_05()
51{
52 print_result(reverse(xs));
53}
54
55// P06 (*) Find out whether a list is a palindrome.
56void problem_06()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
reverseFunction · 0.50

Tested by

no test coverage detected