   @doc ~S"""
   Surrounds a document with characters.
 
-  Puts the document between left and right enclosing and nesting it.
-  The document is marked as a group, to show the maximum as possible
-  concisely together.
+  Puts the given document `doc` between the `left` and `right` strings enclosing
+  and nesting it. The document is marked as a group, to show the maximum as
+  possible concisely together.
 
   ## Examples
 

  def empty, do: :doc_nil

  @doc """
  Concatenates two document entities.

  ## Examples


  ## Examples

      iex> doc = Inspect.Algebra.space "Hughes", "Wadler"
      iex> Inspect.Algebra.format(doc, 5)
      ["Hughes", " ", "Wadler"]

  """
