   end
 
   @doc """
-  Shows the documentation for the given module.
-  Defaults to print documentation for `IEx.Helpers`.
+  Shows the documentation for the given module
+  or for the given function/arity pair.
 
   ## Examples
 

  @moduledoc """
  A bunch of helpers available in IEx.

  Documentation for functions in this module can be
  consulted directly from the command line, type

    d(:d, 1)

  To check the documentation of the function `d`
  with arity 1, which is the function responsible
  to show docs.
  """

  @doc """

  Returns the name and module of all modules loaded.
  """
  def m do
    all    = Enum.map :code.all_loaded, fn { mod, file } -> { inspect(mod), file } end
    sorted = List.sort(all)
    size   = Enum.reduce sorted, 0, fn({ mod, _ }, acc) -> max(byte_size(mod), acc) end
    format = "~-#{size}s ~s~n"

    Enum.each sorted, fn({ mod, file }) ->
      :io.format(format, [mod, file])
    end
  end

  @doc """
