You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use %{} instead of Map.new in genserver docs (elixir-lang#745)
I am not sure why we're using `Map.new` here instead of `%{}`. On the previous page we're using `%{}`, but here we're using `Map.new` for apparently no reason at all.
Copy file name to clipboardexpand all lines: getting-started/mix-otp/genserver.markdown
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ OK
24
24
Since agents are processes, each bucket has a process identifier (pid) but it doesn't have a name. We have learned about the name registry [in the Process chapter](/getting-started/processes.html) and you could be inclined to solve this problem by using such registry. For example, we could create a bucket as:
0 commit comments