Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

split list in elixir

[head | tail] = [3.14, :pie, "Apple"]
[3.14, :pie, "Apple"]
head
3.14
tail
[:pie, "Apple"]
Source by elixirschool.com #
 
PREVIOUS NEXT
Tagged: #split #list #elixir
ADD COMMENT
Topic
Name
8+5 =