mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
fix typo
This commit is contained in:
parent
82b5e67c20
commit
27c7f4c4f0
@ -360,7 +360,7 @@ spawn(f) #=> #PID<0.40.0>
|
|||||||
# `spawn` returns a pid (process identifier), you can use this pid to send
|
# `spawn` returns a pid (process identifier), you can use this pid to send
|
||||||
# messages to the process. To do message passing we use the `send` operator.
|
# messages to the process. To do message passing we use the `send` operator.
|
||||||
# For all of this to be useful we need to be able to receive messages. This is
|
# For all of this to be useful we need to be able to receive messages. This is
|
||||||
# achived with the `receive` mechanism:
|
# achieved with the `receive` mechanism:
|
||||||
defmodule Geometry do
|
defmodule Geometry do
|
||||||
def area_loop do
|
def area_loop do
|
||||||
receive do
|
receive do
|
||||||
|
Loading…
Reference in New Issue
Block a user