I'm creating a type which contains a table and I want to make all of the table 
procs works on this new type. Obviously I could manually write a bunch of procs 
to do this, but that seems quite time consuming. If this were Python I would 
just inherit from a table (well, dict in Python's case), but in Nim the table 
type is final. Given that Nim seems to encourage composition over inheritance, 
it feels like there must be some simple way to do this, but I can't think of 
one. Does anyone have any ideas?

Reply via email to