i miss this sometimes (fst and snd are deprecated i think). but i usually do tuple destructuring, e.g. let (_, x) = tup. but yes, using .1 would be good (as for named tuple fields, i don’t really care for that, to me it looks like namedtuples in python or something, we can just do a type or object for that)
↧
Tuple projection
↧