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

Function problem_20

examples/99_problems.cpp:169–172  ·  view source on GitHub ↗

P20 (*) Remove the K'th element from a list.

Source from the content-addressed store, hash-verified

167
168// P20 (*) Remove the K'th element from a list.
169void problem_20()
170{
171 print_result(drop_idx(0, xs));
172}
173
174// P21 (*) Insert an element at a given position into a list.
175void problem_21()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
drop_idxFunction · 0.50

Tested by

no test coverage detected