tangled
alpha
login
or
join now
besaid.zone
/
learning-elixir
0
fork
atom
just some stuff
0
fork
atom
overview
issues
pulls
pipelines
lists n maps
besaid.zone
2 weeks ago
ef6cf3bb
9c631a4b
verified
This commit was signed with the committer's
known signature
.
besaid.zone
SSH Key Fingerprint:
SHA256:Q4dc5PTI8DNTxJbH2bWsDeY6BXzfq0ce1XSA4H5Y3iI=
+5
1 changed file
expand all
collapse all
unified
split
lists-n-maps.exs
+5
lists-n-maps.exs
···
1
1
+
IO.puts(String.split("1 2 3 4", " ", parts: 2))
2
2
+
3
3
+
map = %{:a => 1, :b => "hello"}
4
4
+
5
5
+
IO.puts(map[:a])