Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bytestructure descriptors need equality #2

Open
johnwcowan opened this issue Apr 19, 2016 · 1 comment
Open

Bytestructure descriptors need equality #2

johnwcowan opened this issue Apr 19, 2016 · 1 comment

Comments

@johnwcowan
Copy link

Currently, you can ask what the bytestructure descriptor of a bytestructure is, but there is no way to check if it is the same as (bs:vector 3 uint16). There needs to be an equality function that will establish this.

@TaylanUB
Copy link
Owner

Difficult. I would urge users to just use singletons for the time being, though I hope I'll come up with a good solution in the future. Recent changes already added a "metadata" field to the descriptor record type; it was added in a rather ad-hoc way with no clear specification of what it should include; I might flesh this out in the future, or change it to be a number of different metadata fields, to allow better introspection, which would allow to check equality among more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants