A collection of cheat sheets.
Hosted on GitHub Pages — Theme by mattgraham
def foo(x, y, z) do
...
end
def foo(x, y, z) when cond1, do: ...
def foo(x, y, z) when cond2, do: ...
...
plus = fn (x, y) -> x + y end
# Shorthand notation
plus = &(&1 + &2)