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

Impl ObjectLike for Either #507

Open
Diegovsky opened this issue Dec 27, 2024 · 0 comments
Open

Impl ObjectLike for Either #507

Diegovsky opened this issue Dec 27, 2024 · 0 comments

Comments

@Diegovsky
Copy link

Since that trait is sealed, it would be nice and convenient to add an impl for it to Either if both sides implement it. That way, you could have a function that receives Either<Table, AnyUserData> and just use it normally, with a very high level API.

Later, you could implement Value::(as/is)_object_like() methods.

I would love to contribute this. What do you think?

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

No branches or pull requests

1 participant