Shouldn't this be instead:
proc first[T](list: SomeLinkedList[T]): SomeLinkedNode[T] =
result = list.head
RunBut I don't understand the point of it anyway. Linked lists are a mostly obsolete data structure and not particularly convenient to work with either.
