Propose simpler string constant
waldron.rick at gmail.com
Thu Dec 17 21:42:33 UTC 2015
On Thu, Dec 17, 2015 at 3:33 PM Steve Kinney <hello at stevekinney.net> wrote:
> I did some initial thinking about this and looked at Rust and Swift as
> prior art. I started something similar to what was being discussed but came
> across some edge cases as I went along.
> Right now, it's just a draft of notes and thoughts, but I am working on a
> draft implementation with Sweet.js.
I had originally had values with implicit ordinal numbers, but Mike Pennisi
(co-author) and I agreed that with Symbol there isn't much benefit to
making the raw value a number.
Anyway, this is the WIP http://rwaldron.github.io/enum-definitions/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss