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

Function problem_18

examples/99_problems.cpp:157–160  ·  view source on GitHub ↗

P18 (**) Extract a slice from a list.

Source from the content-addressed store, hash-verified

155
156// P18 (**) Extract a slice from a list.
157void problem_18()
158{
159 print_result(get_segment(2, 4 + 1, xs));
160}
161
162// P19 (**) Rotate a list N places to the left.
163void problem_19()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
get_segmentFunction · 0.50

Tested by

no test coverage detected