elmcraft / core-extra

Utility functions for an improved experience with elm/core
https://package.elm-lang.org/packages/elmcraft/core-extra/latest/
Other
22 stars 10 forks source link

Triple library missing #21

Closed gampleman closed 3 months ago

gampleman commented 10 months ago

One of the types where an -extra library would be handy are triples (a, b, c).

Does it make sense to add such a library? Should it go into Tuple.Extra or should we make a new name for it? Triple.Extra?

Some candidate functions:

ahankinson commented 9 months ago

I would vote for adding it to the existing Tuple library, since the data type is a tuple, just with three values (not two).

miniBill commented 8 months ago

I'm not unconvinced it shouldn't just be called Triple

lue-bird commented 8 months ago

(too many negations...)

miniBill commented 8 months ago

I think we could just call it Triple