code: func writeElements(w io.Writer, elements ...interface{}) error {
  	for _, element := range elements {
  		err := writeElement(w, element)
  		if err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // writeElements writes multiple items to w.  It is equivalent to multiple
  // calls to writeElement.