A set of utilities to enable higher level operations over tuples.
tuple utilities
This package currently provides one function that takes in an array containing tuples of two types; the function then returns two arrays, the first containing all the first elements of the tuples, and the second array containing the second elements of the tuples. This functionality is available in iterators through unzip, but unzip can only return collections which implement Extend; which primitive arrays do not. Therefore, unzip works fine for Vec or other dynamic types, but not for simple, beautiful arrays, with lengths known at compiletime. My implementation is hopefully quite efficient, as it just moves data around, without using too much costly abstractions like std::array::from_fn. This crate has 4 tests that I think cover basically everything; still it could be unsound..
map methods for tuple
Map individual elements of a tuple
An extension for the tupleops crate which adds a trait for splitting tuples.
batch_oper provides some batch operation macro for some operations
libsugar provides syntactic sugar in the form of a library
Type-level tuple utilities for compile-time structural reasoning.
A trait for cloning tuples
A trait for copying tuples
Procedural macros for deriving tuple traits