Re: [heycam/webidl] More convenient way to refer to / use "map iterators" (#324)

Oh, and there is [a place](https://github.com/gpuweb/gpuweb/blob/31057dd8cf48866512863c3efcae39e34d5243e8/spec/index.bs#L235) where we already are trying to define a tuple today, to do an ES6-style multiple-return.

I think if we had typed tuples in WebIDL, it would mostly solve both issues:
`tuple<GPUBuffer, ArrayBuffer>`
`sequence<tuple<DOMString, Buffer>>`
[`sequence<tuple<unsigned int, GPUVertexBufferDescriptor>>`](https://github.com/gpuweb/gpuweb/blob/31057dd8cf48866512863c3efcae39e34d5243e8/spec/index.bs#L904)

Though it would not express the uniqueness of keys.

-- 
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/324#issuecomment-512033998

Received on Tuesday, 16 July 2019 22:59:57 UTC