let implode l = let s = Bytes.create (List.length l) in let rec aux i = function | [] -> Bytes.unsafe_to_string s | x :: r -> Bytes.set s i x; aux (i + 1) r in aux 0 l