Giter Club home page Giter Club logo

Comments (4)

rricard avatar rricard commented on May 18, 2024

Same goes with JSON conversion

from proposal-record-tuple.

bmeck avatar bmeck commented on May 18, 2024

Are all symbols expected to be supported? Or only reproducible ones like those using Symbol.forKey and well known Symbols? I think non-reproducable symbols would be odd to add to records themselves personally.

Per JSON, does this need to be serialized via JSON? Symbols are a type that don't serialize already, as is the case for other types.

from proposal-record-tuple.

mheiber avatar mheiber commented on May 18, 2024

Discussed with @rricard and @rickbutton on Friday.

I suggest that lossless JSON roundtripping be added as a goal to this proposal, which would mean that symbols would not be allowed as keys or values in Records or as entries in Tuples.

I couldn't think of a use case for symbols on immutable data structures, so symbols don't seem like a big thing to give up.

PR: #42

from proposal-record-tuple.

kleinfreund avatar kleinfreund commented on May 18, 2024

What about Symbol.iterator/iteration protocols?

from proposal-record-tuple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.