macro_rules! map_first { ($res:expr, $f:expr) => { ... }; }
Helper for mapping the first element of a two eleent tuple. This is useful for cleanly handling the result of CompactEncoding::decode.