User Tools

Site Tools


cs330_f2016:labz

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cs330_f2016:labz [2017/03/24 23:00]
dhart
cs330_f2016:labz [2017/03/29 18:50]
dcostello [Part 1: Name Server:]
Line 48: Line 48:
 Example: Example:
 <code elixir> <code elixir>
-def handle_call({:​register,​ name}, pid, mymap) do+def handle_call({:​register,​ name}, ​{pid, _from}, mymap) do
   ...   ...
   {:reply, :ok, mymap}   {:reply, :ok, mymap}
cs330_f2016/labz.txt ยท Last modified: 2021/06/30 23:42 (external edit)