@trtt I agree that the code I posted is not working. But I am convinced that it 
**should** work, and the fact that is not working is a bug of Nim. It is true 
that a generic T does not have fields like head and tail. On the other hand, 
all concrete types T which are ever used in specializing that function **do** 
have head and tail. I will investigate more

Reply via email to