Into Flashcards
1
Q
IEX
A
Elixirs interactive Shell
2
Q
3 new command line executables
A
IEX - opens up interactive elixir
IEX.bat on windows PowerShell
Elixir -
Elixirs -
3
Q
Integer
A
1,
0x1F
4
Q
Float
A
1.0
5
Q
Boolean
A
True
False
6
Q
Atom
A
:atom
A constant whose value is its own name
:Apple —> :Apple
7
Q
String
A
“Elixir”
8
Q
List
A
[1, 2, 3]
9
Q
Tuple
A
{1, 2, 3}
10
Q
/
A
Division
Always returns float
11
Q
Div(10,2)
A
—> 5
Not a float
12
Q
rem(10,3)
A
—> 1
13
Q
Round(3.58)
A
—> 4
14
Q
Trunc(3.58)
A
—> 3
15
Q
Is_integer(1)
Is_integer(2.0)
A
—> true
—> false