Export the linked list.
Swap head and tail, and support queue-like ops on linked list.