Using F# Programming Language:
Write a function, headless xs, that takes a list of lists xs and removes the first element in all the sub-lists. Assume that non of the sublists are empty.
Example:
headless [[0;1;1];[3;2];[5]]
val it : int list list = [[1;1];[2];[]]