Module parametrization in the form of `import tables[Obj,int,objs.hash] as 
TableA` is pretty ugly (that's subjective, of course). When C++'s templating 
system was designed Ada's approach was deemed too inflexible and decades later 
I cannot disagree with this design decision. We already have the necessary 
parametrization in Nim's generics, we're getting generic constraints via 
`concept`, that can enable type checking for generic code, what's missing here 
is my RFC 380. Which is rather simple and would make the existing `from m 
import nil` more useful too, implement one thing that does not add new syntax 
and get 3 benefits, I don't understand the downvotes...

Reply via email to