This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cs330_f2016:labz [2017/03/24 23:00] dhart |
cs330_f2016:labz [2017/04/05 16:43] dhart [Submitting Your Lab] |
||
---|---|---|---|
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} | ||
Line 127: | Line 127: | ||
---- | ---- | ||
====Submitting Your Lab==== | ====Submitting Your Lab==== | ||
- | For submitting this lab, please put all of your code into a single file called "Elixir2.exs". This should include all of the code from the provided modules, all of the code for you name server, and all of your code for your supervisor modules. | + | For submitting this lab, please put all of your code into a single file called "Elixir2.ex". This should include all of the code from the provided modules, all of the code for you name server, and all of your code for your supervisor modules. |