mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fixed spacing with Elixir comment.
This commit is contained in:
parent
9f510f3044
commit
07e04e7a2d
@ -391,7 +391,7 @@ end
|
|||||||
|
|
||||||
# Compile the module and create a process that evaluates `area_loop` in the shell
|
# Compile the module and create a process that evaluates `area_loop` in the shell
|
||||||
pid = spawn(fn -> Geometry.area_loop() end) #=> #PID<0.40.0>
|
pid = spawn(fn -> Geometry.area_loop() end) #=> #PID<0.40.0>
|
||||||
#Alternatively
|
# Alternatively
|
||||||
pid = spawn(Geometry, :area_loop, [])
|
pid = spawn(Geometry, :area_loop, [])
|
||||||
|
|
||||||
# Send a message to `pid` that will match a pattern in the receive statement
|
# Send a message to `pid` that will match a pattern in the receive statement
|
||||||
|
Loading…
Reference in New Issue
Block a user