Singly-linked list/Element definition

The Pair constructor is exactly equivalent to a cons cell.

my $elem = 42 => $nextelem;