Show Menu
Cheatography

Elixir PL Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Command line

elixir
[options]
file.e­x/f­ile.ex
iex
iex -S
script
(e.g. iex -S mix)
iex --name
local
iex -sname
fully.q­ua­lif­ied.name
 
--cookie
cookie value or use
 
$HOME/.er­lan­g.c­ookie
mix
new | run | test | deps | etc.
mix.exs
specifies build details
 

Pipelines

expr
|> f1
|> f2(a,b)
|> f3(c)

# same as

f3(f2(f1(expr), a, b), c)