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

Handle tuples as variable types #48

Closed
ilyapuchka opened this issue Dec 17, 2016 · 2 comments
Closed

Handle tuples as variable types #48

ilyapuchka opened this issue Dec 17, 2016 · 2 comments
Assignees

Comments

@ilyapuchka
Copy link
Collaborator

ilyapuchka commented Dec 17, 2016

As it's possible to compare tuples of Equatable types, but it's not possible to extend tuple types with protocols, we should support them to be able to use them in equatable template. For example it could be used like { % if variable.isTuple and variable.tuple.allTypes.implements.AutoEquatable % }. Also we may support tuple elements names.

@krzysztofzablocki
Copy link
Owner

Good idea 👍

@krzysztofzablocki krzysztofzablocki removed their assignment Dec 23, 2016
@krzysztofzablocki
Copy link
Owner

I'm going to unassign myself for now as I'm working on few other things, if anyone wants to pick this, just assign it / comment here /cc @ilyapuchka

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