##Interactive mode

Open up iex

iex> 40+2
42
iex> "hello" <> " world"
"hello world"

##Running scripts

demo.exs

IO.puts "Hello world from Elixir."

run with elixir

$ elixir demo.exs
Hello world from Elixir.

##Basic types

Elixir basic types: integers,floats,booleans,strings,list,atoms,tuples.

iex> is_atom(false)
true
iex> true == :true
true
iex> is_binary("hello")
true

乌托邦

xl

Stay hungry, Stay foolish.