type Node = auto class data: T; prev,next: Node; end;