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

& operator to combine multiple tuple type into one #140

Open
glassesneo opened this issue Jul 5, 2024 · 0 comments
Open

& operator to combine multiple tuple type into one #140

glassesneo opened this issue Jul 5, 2024 · 0 comments
Labels
Status: Available Waiting for working on it Type: Enhancement Add brand new features

Comments

@glassesneo
Copy link
Owner

protocol Readable:
  proc read()

protocol  Writable:
  proc write()

assert Readable & Writable == tuple[read: proc(), write: proc()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Available Waiting for working on it Type: Enhancement Add brand new features
Projects
None yet
Development

No branches or pull requests

1 participant