<Normal Text>parent </Normal Text><Operator>=</Operator><Normal Text> self()</Normal Text><br/>
<dsNormal></dsNormal><br/>
<Comment># Spawns an Elixir process (not an operating system one!)</Comment><br/>
<Normal Text>spawn_link(</Normal Text><Definition>fn</Definition><Normal Text> </Normal Text><Operator>-></Operator><br/>
<Normal Text>  send parent, {</Normal Text><Symbol>:msg</Symbol><Normal Text>, </Normal Text><String>"hello world"</String><Normal Text>}</Normal Text><br/>
<Keyword>end</Keyword><Normal Text>)</Normal Text><br/>
<dsNormal></dsNormal><br/>
<Comment># Block until the message is received</Comment><br/>
<Keyword>receive</Keyword><Normal Text> </Normal Text><Keyword>do</Keyword><br/>
<Normal Text>  {</Normal Text><Symbol>:msg</Symbol><Normal Text>, contents} </Normal Text><Operator>-></Operator><Normal Text> </Normal Text><Global Constant>IO</Global Constant><Operator>.</Operator><Normal Text>puts contents</Normal Text><br/>
<Keyword>end</Keyword><br/>
