Thanks you very much. Yoy were correct on both counts. BTW: I also found 
another bug. My initial version _accidently_ mutated in the source!

I finally ended up with:
    
    
    proc first[T](list: var SomeLinkedList[T]): SomeLinkedNode[T] =
      let node = list.head
      result = node
    
    
    Run

Reply via email to