elixir if statement
iex> if true do
...> "This works!"
...> end
"This works!"
iex> unless true do
...> "This will never be seen"
...> end
nil
iex> if nil do
...> "This won't be seen"
...> else
...> "This will"
...> end
"This will"
elixir if statement
iex> if true do
...> "This works!"
...> end
"This works!"
iex> unless true do
...> "This will never be seen"
...> end
nil
iex> if nil do
...> "This won't be seen"
...> else
...> "This will"
...> end
"This will"
Elixir
Example for Elixir Code:
iex> "Elixir" |> String.graphemes() |> Enum.frequencies()
%{"E" => 1, "i" => 2, "l" => 1, "r" => 1, "x" => 1}
elixir version 1.1
kiex list known
Getting the available releases from https://github.com/elixir-lang/elixir/releases
Known Elixir releases:
1.2.1
1.2.0
1.2.0-rc.1
1.2.0-rc.0
1.1.1
1.1.0
1.1.0-rc.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-rc2
1.0.0-rc1
0.15.1
0.15.0
0.14.3
0.14.2
0.14.1
0.14.0
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us