culates the sum of two numbers.
  """
  def sum(a, b), do: a + b
end</code></pre>

<h2>Full example</h2>
<pre><code># Example from http://learnxinyminutes.com/docs/elixir/

# Single line comments start with a number symbol.

# There's no multi-line comment,
# but you can stack multiple comments.

# To use the elixir shell use the `iex` command.
# Compile your modules with the `elixirc` command.

# Both should be in your path if you installed elixir correctly.

## ---------------------------
## -- Basic type