The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

oldfartdeveloper (18) [Avatar] Offline
#1
In the paragraph after this code block:

def loop
  receive
    {:message, msg} ->
      do_something(msg)
  end

  loop
end


"...that are in the form {:messages, something}...". I.e. take the "s" in ":messages" out.
sjuric (109) [Avatar] Offline
#2
Thanks for reporting this, good catch!