Re: [heycam/webidl] record with arbitrary value types as keys? (#509)

It sounds like what you want here is a dictionary. The fact that you'll have to synchronize between the enum and dictionary definition is a bit unfortunate, but that's the short of tradeoff you often have to make in declarative languages that don't have full Turing-completeness, and Web IDL is no different.

-- 
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/509#issuecomment-363820243

Received on Wednesday, 7 February 2018 16:13:11 UTC