add implementation of `Repr` for `~[T]`