In a list of lists, this function returns a list of the first elements of each of the lists.
heads(#(#(1, 5, 10), #(2, 4, 6), #(3, 6, 9))) ⇒ #(1, 2, 3)
Exported from
Arguments
| lists | An instance of <list>. A list of lists. |
Values
| new-list | An instance of <list>. |