With Nim 1.4, there is a deprecation warning **Warning: Deprecated since v1.4; 
it was more confusing than useful, use `[]=`; add is deprecated** that I 
believe is wrong. `[]=` and `add` are doing two very different things for 
tables.

  * `add` is adding a new pair to the table, which may result in duplicated 
values for the same key
  * `[]=` is replacing the existing value for the same key if it exists



When handling HTTP parameters, I need to have tables with duplicate values for 
the same key, and I'm using `add` for this but I get the warning. Is this 
deprecation really relevant, is there a replacement for `add` ?

Reply via email to