pub fn chain_vec<A, B, C>( f: impl Fn(A) -> Vec<B>, g: impl Fn(B) -> Vec<C>, ) -> impl Fn(A) -> Vec<C>