Elixir
What is the lambda syntax?
fn x -> x*x end
Elixir
What is the syntax for multi line functions?
def name(args) do
args
end
Elixir
What is the syntax for single line functions?
def name(args), do: args
Elixir
What keyword adds a guard to a function?
when