small medium large xlarge

21 Apr 2014, 15:47
Kevin Pluck (1 post)


I’m using elixir 0.12.5 with erlang 6.0 and am receiving this error when compiling the ticker.ex example:

** (CompileError) ticker.ex:13: function ‘<-‘/2 undefined

Which comes from this line:

:global.whereis_name(@name) <- { :register, client_pid }

I thought it was a typo so I copied and pasted directly from the pdf extract (will purchase if this can be resolved ;-) ) but got exactly the same error.

Enjoying the chapter!

19 May 2015, 19:39
J T (1 post)

I am receiving the same error after copying the code from the PDF.

$Client.start ** (ArgumentError) argument error :erlang.send(:undefined, {:register, #PID<0.88.0>}) ticker.ex:12: Ticker.register/1

You must be logged in to comment