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

Function problem_06

examples/99_problems.cpp:56–59  ·  view source on GitHub ↗

P06 (*) Find out whether a list is a palindrome.

Source from the content-addressed store, hash-verified

54
55// P06 (*) Find out whether a list is a palindrome.
56void problem_06()
57{
58 print_result(xs == reverse(xs));
59}
60
61// P07 (**) Flatten a nested list structure.
62void problem_07()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
reverseFunction · 0.50

Tested by

no test coverage detected