We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b9ab99 commit defad93Copy full SHA for defad93
lib/elixir/lib/gen_server.ex
@@ -415,7 +415,7 @@ defmodule GenServer do
415
Let's see how we could use those functions for debugging the stack server
416
we defined earlier.
417
418
- iex> {:ok, pid} = Stack.start_link([])
+ iex> {:ok, pid} = Stack.start_link("")
419
iex> :sys.statistics(pid, true) # turn on collecting process statistics
420
iex> :sys.trace(pid, true) # turn on event printing
421
iex> Stack.push(pid, 1)
0 commit comments