Hash :
85b657b1
Author :
Thomas de Grivel
Date :
2023-11-24T20:02:33
%{a: a} = %{a: 1, b: 2, c: 3}
a
1 + 10000000000000000000000000000000000
a = 1 + 10000000000000000000000000000000000
a / 2
a << 3
a << 4
(U8) { 1, 2, 3, 256, 257, 258 }
a = (U8) { 1, 2, 3, 256, 257, 258 }
a[0]
a[1]
a[2]
a[10]
a[-10]
a[0]
Map.map
Map.map(%{a: 1, b: 2, c: 3}, fn (k, v) { [v | k] })
Map.map(%{a: 1, b: 2, c: 3}, fn (k, v) { {k, v} })
to_list = fn (map = %{}) { Map.map(map, fn (k, v) { {k, v} })
to_list(%{a: 1, b: b})
to_list = fn (map) { Map.map(map, fn (k, v) { {k, v} })
to_list(%{a: 1, b: b})
to_list = fn (map) { Map.map(map, fn (k, v) { {k, v} } }
to_list = fn (m) { Map.map(m, fn (k, v) { {k, v} } }
to_list = fn (m) { Map.map(m, fn (k, v) { {k, v} }) }
to_list = fn (map = %{}) { Map.map(map, fn (k, v) { {k, v} }) }
to_list(%{a: 1, b: b})
to_list(%{a: 1, b: 2})
to_list = fn (map) { Map.map(map, fn (k, v) { {k, v} }) }
to_list(%{a: 1, b: 2})
Map.to_list(%{a: 1, b: 2})