App
Http
Database
Curl
Email
...
....
DB
Conn
nil # Null 1 # Entier 1.0 # Float true # Booleen "Salut" # Chaine (<<83, 97, 108, 117, 116>>) 'Salut' # Liste de caractère [83, 97, 108, 117, 116] :atom # Atom [1, 2, "a"] # List {1, 2, "a"} # Tuple # Fonction anonyme fn a -> a * 2 end fn a -> a * 2 end
[1, 2, "a"] # List {1, 2, "a"} # Tuple # Keyword lists [{:a, 1}, {:b, 2}] [a: 1, b: 2] [ where: "...", where: "..." ] # Map %{:a => 1, :b => 2, "clef" => 3} %{a: 1, b: 2, "clef" => 3}
By Jonathan Boyer