vinivendra / Gryphon

The Swift to Kotlin translator.
https://vinivendra.github.io/Gryphon/
Other
607 stars 46 forks source link

Support Triples #85

Open vinivendra opened 4 years ago

vinivendra commented 4 years ago

There's currently no way to use Swift tuples with 3 elements, but we could translate them into Triples just like we do with pairs.

Once that's done, we could create new classes (like Pairs and Triples) in the Gryphon libraries to support tuples with even more elements (though that should be tracked in a new issue).