Tupl
A small library for handling Rust tuples using traits.
It provides a Tuple trait implemented for tuples of arity (length) 0 to 50.
use Tuple;
let mut tuple = ;
// access the first & last elements of the tuple
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
// append a new element to a tuple
let tuple = tuple.append;
assert_eq!;
// prepend a new element to a tuple
let tuple = tuple.prepend;
assert_eq!;
// truncate the first element of a tuple
let = tuple.truncate_head;
assert_eq!;
// truncate the last element of a tuple
let = tuple.truncate_tail;
assert_eq!;