Slide 5
Slide 5 text
quick intro
• integers
• 2, 0xcafe, 0b100, 10_000
• floats
• 1.0, 3.1415, 6.02e23
• lists
• [1, 2, 3], [head|tail]
• map
• %{one: “un”, two: “deux”}
• atom
• :foo, :me@home, :elixir
• tuple
• {:ok, 11, ‘hi'}
• keyword list
• [a: :foo, b: :bar]
• binary
• <<104, 101, 108, 108, 111>>,
“hello”