P17 (*) Split a list into two parts; the length of the first part is given.
| 149 | |
| 150 | // P17 (*) Split a list into two parts; the length of the first part is given. |
| 151 | void problem_17() |
| 152 | { |
| 153 | print_result(split_at_idx(2, xs)); |
| 154 | } |
| 155 | |
| 156 | // P18 (**) Extract a slice from a list. |
| 157 | void problem_18() |
no test coverage detected