Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

elixir "hd" programming

iex> list = [1, 2, 3]
iex> hd(list)
1
iex> tl(list)
[2, 3]
Source by elixir-lang.org #
 
PREVIOUS NEXT
Tagged: #elixir #programming
ADD COMMENT
Topic
Name
1+6 =