heads

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

listsAn instance of <list>.  A list of lists.

Values

new-listAn instance of <list>.
Sequence-Utilities, written by Matthias Hölzl, provides common or oft-used operations performed on <sequence>s.
The class of linked lists.