Elixir

From Code Self Study Wiki
Jump to: navigation, search

This page is about Elixir resources and notes.

Examples

defmodule Greeter do
  def for(name, greeting) do fn
    (^name) -> "#{greeting} #{name}"
    (_) -> "I don't know you end"
  end
end
 
g = Greeter.for("Josh", "Saluton")
g.("Josh")  # => "Saluton Josh"

Free Resources

Non-free Resources

Books

Videos