AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
120 stars 8 forks source link

Add `<A,B,C>Triplet` #316

Closed ghost closed 6 months ago

ghost commented 6 months ago

An extended version of Pair: <A,B,C>Triplet. Java-style tuples.

ghost commented 6 months ago

I'm using something like you described in https://github.com/AdeptLanguage/Adept/issues/289, but compared to Java, it lacks a lot of useful methods.

IsaacShelton commented 6 months ago

Which methods specifically are the most lacking?

I was thinking maybe some kind of tuple type would be nice in the standard library