Skip to content

Commit 1c505ad

Browse files
committed
Add a docstring for IEx.Server.start
1 parent 5cbe0ba commit 1c505ad

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/iex/lib/iex/server.ex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
defmodule IEx.Server do
22
@moduledoc false
33

4+
@doc """
5+
Eval loop for an IEx session. Its responsibilities include:
6+
7+
* reading input
8+
* trapping exceptions in the code being evaluated
9+
* keeping input history
10+
11+
"""
412
def start(config) do
513
IO.puts "Interactive Elixir (#{System.version}) - press Ctrl+C to exit (type h() ENTER for help)"
614
Process.put :iex_history, []

0 commit comments

Comments
 (0)