Sponsored by AppSignal
Would you like to see your link here? Contact us
Notesclub

IO Lists

d_io_lists.livemd

IO Lists

import IEx.Helpers

Section

username = "batate"
"batate"
server = "example.com"
"example.com"
connector = "@"
"@"
username <> connector <> server
# 🚫 inefficient
"batate@example.com"
combined = username <> connector <> server
IO.puts(combined)
batate@example.com
:ok
IO.puts([username, connector, server])
batate@example.com
:ok