Closed maxkorp closed 3 years ago
After seeing an issue was already made (https://github.com/reazen/relude/issues/303), there are fst and snd for pairs/tuple-2s, but that's it.
fst
snd
I added first, second, third, fourth, and fifth to the appropriate tuple files, as well as tests for all of them.
first
second
third
fourth
fifth
I can make Tuple2.first and Tuple2.second aliases to fst and snd if preferred.
Tuple2.first
Tuple2.second
Hrm editing my original description doesn't link up MRs and issues apparently, so for reference.
After seeing an issue was already made (https://github.com/reazen/relude/issues/303), there are
fst
andsnd
for pairs/tuple-2s, but that's it.I added
first
,second
,third
,fourth
, andfifth
to the appropriate tuple files, as well as tests for all of them.I can make
Tuple2.first
andTuple2.second
aliases tofst
andsnd
if preferred.