Список сплит в Эликсире
[head | tail] = [3.14, :pie, "Apple"]
[3.14, :pie, "Apple"]
head
3.14
tail
[:pie, "Apple"]
Juan D Khusuma
[head | tail] = [3.14, :pie, "Apple"]
[3.14, :pie, "Apple"]
head
3.14
tail
[:pie, "Apple"]