- From: Tab Atkins Jr. <notifications@github.com>
- Date: Mon, 29 Jan 2018 05:02:41 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 29 January 2018 05:03:05 UTC
Discussing with @domenic in IRC illuminates some more differences between the two forms - `list<(key, val)>` semantics will usually want to `set()` in-place, like URLSearchParams does, deleting all the entries beyond the first, and with that, making `set()` n-ary doesn't make very much sense. (Tho `append()` should still be n-ary.) On the other hand, for the `map<key, list<val>>` semantics, regardless of whether you set in-place or do a remove/append, it makes sense to `set()` multiple values at once. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/514#issuecomment-361141063
Received on Monday, 29 January 2018 05:03:05 UTC